diff --git a/themes/varia/templates/article.html b/themes/varia/templates/article.html index 7cef659..0a73d28 100644 --- a/themes/varia/templates/article.html +++ b/themes/varia/templates/article.html @@ -1,80 +1,71 @@ {% extends "base.html" %} {% block head %} - {{ super() }} - {% if article.description %} - - {% endif %} +{{ super() }} +{% if article.description %} + +{% endif %} - {% if article.tags or article.category or article.keywords %} - - {% endif %} +{% if article.tags or article.category or article.keywords %} + +{% endif %} {% endblock %} -
- ../ -
- ../ +{% block content %} + - {% block content %} -
- -
- {{ article.title }} +
+
+ {{ article.title }} +
+
+
+
+
+ {{ article.content }} +

+
+
+
{% endblock %} diff --git a/themes/varia/templates/base.html b/themes/varia/templates/base.html index d5c913b..469979f 100644 --- a/themes/varia/templates/base.html +++ b/themes/varia/templates/base.html @@ -2,37 +2,33 @@ {% block head %} - {% block title %}{{ SITENAME }} {{SITESUBTITLE}}{% endblock title %} - - - - {% from 'syndication.html' import syndication with context %} - {{ syndication(article) }} - - +{% block title %}{{ SITENAME }} {{SITESUBTITLE}}{% endblock title %} + + + +{% from 'syndication.html' import syndication with context %} +{{ syndication(article) }} + + {% endblock head %}
{% if I18N_SUBSITES %} - {% for lang, url in I18N_SUBSITES.items() %} - {% if lang == 'nl' %} - {{ lang }} - {% endif %} - {% if lang == 'en' %} - {{ lang }} - {% endif %} - {% endfor %} - {% endif %} + {% for lang, url in I18N_SUBSITES.items() %} + {% if lang == 'nl' %}
  • {% if lang == DEFAULT_LANG %} class="active"{% endif %}>{{ lang }}
  • + {% endif %} + {% if lang == 'en' %}
  • {% if lang == DEFAULT_LANG %} class="active"{% endif %}>{{ lang }}
  • + {% endif %} + {% endfor %} + {% endif %}
    {% if FEED_ALL_RSS %}
  • RSS
  • {% endif %}
    - {% block content %} {% endblock %} - diff --git a/themes/varia/templates/syndication.html b/themes/varia/templates/syndication.html index cf66281..141167c 100644 --- a/themes/varia/templates/syndication.html +++ b/themes/varia/templates/syndication.html @@ -27,24 +27,20 @@ serves as the default image for posts whose featured_image is not set. #} - - - {% if article.featured_image %} {% if I18N_SUBSITES %} {% for lang, url in I18N_SUBSITES.items() %} {% if lang == 'en' %} - - - - + + + {% endif %} {% endfor %} {% endif %} {% else %} - {% if FEATURED_IMAGE %} +{% if FEATURED_IMAGE %} - + {% endif %} {% endif %} {% endif %}