From dc223015f459455dc5323092f21c975684370d97 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Thu, 12 Apr 2018 00:05:37 +0200 Subject: [PATCH] new header with 'varia comes in many forms:' links --- themes/varia/templates/base.html | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/themes/varia/templates/base.html b/themes/varia/templates/base.html index e5e2cf3..3df8126 100644 --- a/themes/varia/templates/base.html +++ b/themes/varia/templates/base.html @@ -14,19 +14,35 @@ -
- {% if I18N_SUBSITES %} +
+ {% if I18N_SUBSITES %} {% for lang, url in I18N_SUBSITES.items() %} - {% if lang == 'nl' %}
  • {{ lang }}
  • + {% if DEFAULT_LANG == 'nl' %} + {% if lang == 'nl' %} +
  • varia kent de volgende gedaantes:
  • +
  • mailinglijst
  • +
  • RSS feed
  • + +
  • Nederlands{% else %}>Nederlands{% endif %}
  • + English{% else %}>English{% endif %} + {% endif %} {% endif %} - {% if lang == 'en' %}{{ lang }} + {% if DEFAULT_LANG == 'en' %} + {% if lang == 'en' %} +
  • varia comes in many forms:
  • +
  • mailinglist
  • +
  • RSS feed
  • + +
  • Nederlands{% else %}>Nederlands{% endif %}
  • + English{% else %}>English{% endif %} + {% endif %} {% endif %} {% endfor %} {% endif %}
    - {% if FEED_ALL_RSS %} -
  • RSS
  • - {% endif %} +
    +
    +
    {% block content %} {% endblock %}