Added multilingual and theme switching support, fixed multiple

positioning issues, added articles to sidebar
This commit is contained in:
2026-08-13 12:41:05 +02:00
parent bd7bf51563
commit 0faae602fa
4 changed files with 471 additions and 68 deletions
+5 -4
View File
@@ -1,9 +1,10 @@
{% macro translations_for(article) %}
{% if article.translations %}
Translations:
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}" hreflang="{{ translation.lang }}">{{ translation.lang }}</a>
{% endfor %}
<div id="translations">
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}" hreflang="{{ translation.lang }}">{{ translation.lang }}</a>
{% endfor %}
</div>
{% endif %}
{% endmacro %}