diff --git a/tuxlite_tbs/templates/base.html b/tuxlite_tbs/templates/base.html index 2c18586..4dd1f52 100644 --- a/tuxlite_tbs/templates/base.html +++ b/tuxlite_tbs/templates/base.html @@ -1,5 +1,5 @@ - + {% block windowtitle %}{{ SITENAME }}{% endblock %} diff --git a/tuxlite_tbs/templates/metadata.html b/tuxlite_tbs/templates/metadata.html index 3f7e987..1ee8b86 100644 --- a/tuxlite_tbs/templates/metadata.html +++ b/tuxlite_tbs/templates/metadata.html @@ -2,6 +2,12 @@ {% if article.author %} by {{ article.author }} + {% if article.translations %} + {{ article.lang or DEFAULT_LANG }} + {% for translation in article.translations %} + {{ translation.lang }}  + {% endfor %} + {% endif %} {% endif %} {# Filed under {{ article.category }} #} diff --git a/tuxlite_tbs/templates/page.html b/tuxlite_tbs/templates/page.html index 65470ea..df15a33 100644 --- a/tuxlite_tbs/templates/page.html +++ b/tuxlite_tbs/templates/page.html @@ -2,7 +2,15 @@ {% block title %} {% endblock %} {% block content %}
-

{{ page.title }}

+

+ {{ page.title }} + {% if page.translations %} + {{ page.lang or DEFAULT_LANG }} + {% for translation in page.translations %} + {{ translation.lang }}  + {% endfor %} + {% endif %} +

{% if PDF_PROCESSOR %}get the pdf{% endif %} {{ page.content }}