Browse Source

new header with 'varia comes in many forms:' links

transformations
mb@mb 7 years ago
parent
commit
dc223015f4
  1. 28
      themes/varia/templates/base.html

28
themes/varia/templates/base.html

@ -14,19 +14,35 @@
</head> </head>
<body id="index" class="home"> <body id="index" class="home">
<div id="translation"> <div class="buttons top">
{% if I18N_SUBSITES %} {% if I18N_SUBSITES %}
{% for lang, url in I18N_SUBSITES.items() %} {% for lang, url in I18N_SUBSITES.items() %}
{% if lang == 'nl' %}<li {% if lang == DEFAULT_LANG %} class="active"{% endif %}><a href="/">{{ lang }}</a></li> {% if DEFAULT_LANG == 'nl' %}
{% if lang == 'nl' %}
<li><em>varia</em> kent de volgende gedaantes: </li>
<li><a href="https://we.lurk.org/varia" target="_blank"><i class="fa fa-rss "></i>mailinglijst </a></li>
<li><a href="feeds/all-{{ DEFAULT_LANG }}.rss.xml" type="application/rss+xml"><i class="fa fa-rss "></i>RSS feed </a></li>
<!-- <li><a href="#"><i class="fa fa-rss "></i>.ics kalendar</a></li> -->
<li {% if DEFAULT_LANG == 'nl' %} class="active"><a href="/">Nederlands</a>{% else %}><a href="/">Nederlands</a>{% endif %}</li>
<li{% if DEFAULT_LANG == 'en' %} class="active"><a href="/en/">English</a>{% else %}><a href="/en/">English</a>{% endif %}</li>
{% endif %}
{% endif %}
{% if DEFAULT_LANG == 'en' %}
{% if lang == 'en' %}
<li><em>varia</em> comes in many forms: </li>
<li><a href="https://we.lurk.org/varia" target="_blank"><i class="fa fa-rss "></i>mailinglist </a></li>
<li><a href="feeds/all-{{ DEFAULT_LANG }}.rss.xml" type="application/rss+xml"><i class="fa fa-rss "></i>RSS feed </a></li>
<!-- <li><a href="#"><i class="fa fa-rss "></i>.ics calendar</a></li> -->
<li {% if DEFAULT_LANG == 'nl' %} class="active"><a href="/">Nederlands</a>{% else %}><a href="/">Nederlands</a>{% endif %}</li>
<li{% if DEFAULT_LANG == 'en' %} class="active"><a href="/{{lang}}">English</a>{% else %}><a href="/{{lang}}">English</a>{% endif %}</li>
{% endif %} {% endif %}
{% if lang == 'en' %}<li{% if lang == DEFAULT_LANG %} class="active"{% endif %}><a href="/{{ lang }}/">{{ lang }}</a></li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
<br> <br>
{% if FEED_ALL_RSS %} </div>
<li><a href="feeds/all-{{ DEFAULT_LANG }}.rss.xml" type="application/rss+xml"><i class="fa fa-rss "></i>RSS</a></li> <div class="buttons top">
{% endif %}
</div> </div>
{% block content %} {% block content %}
{% endblock %} {% endblock %}

Loading…
Cancel
Save