-
- {{ article.content }}
-
-
- {{ p.content }}
- {% endif %}
- {% endfor %}
-
- {{ article.title }}
+
+
+ {{ article.title }}
+
+
+
+ {% if article.featured_image %}
+ {% set thumb_size ='/thumb'%}
+
+ {% if article.featured_image.endswith('.gif') %}
+ {% set thumb_size =''%}
+ {% endif %}
+
+
+ {% endif %}
-
-
- {% if article.featured_image %}
- {% set thumb_size ='/thumb'%}
-
- {% if article.featured_image.endswith('.gif') %}
- {% set thumb_size =''%}
- {% endif %}
-
-
-
- {% endif %}
-
-
- {% if article.event_start %}
- {% 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 %}
{{ article.event_start }}
- {% endif %}
+
+ {% if article.event_start %}
+
+ {{ article.event_start }}
+ {% endif %}
+
+ {% if article.category %}
+
+
+
+ {{ article.category }}
+
-
- {% if article.category %}
-
-
-
- {{ article.category }}
-
+ {% endif %}
+ {% if article.translations %}
+
+ {% endif %}
+ {% for translation in article.translations %}
+ {% if translation.lang == 'nl' %}Lees dit artikel in het Nederlands
+ {% endif %}
+ {% if translation.lang == 'en' %}Read this article in English
+ {% endif %}
+ {% endfor %}
- {% endif %}
- {% if article.translations %}
-
- {% for translation in article.translations %}
- {% if translation.lang == 'nl' %}
- Lees dit artikel in het Nederlands
- {% endif %}
-
- {% if translation.lang == 'en' %}
- Read this article in English
- {% endif %}
- {% endfor %}
-
- {% endif %}
-
-
-
+
+
+
{% endblock %}
diff --git a/themes/varia/templates/base.html b/themes/varia/templates/base.html
index d5c913b3..469979fe 100644
--- a/themes/varia/templates/base.html
+++ b/themes/varia/templates/base.html
@@ -2,37 +2,33 @@
{% block head %}
-
+ {{ article.content }}
+
+
+
{% 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 cf662817..141167c3 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 %}
{% if FEED_ALL_RSS %}