diff --git a/themes/maya0x17/templates/translations.html b/themes/maya0x17/templates/translations.html new file mode 100644 index 0000000..fc094dd --- /dev/null +++ b/themes/maya0x17/templates/translations.html @@ -0,0 +1,18 @@ +{% macro translations_for(article) %} +{% if article.translations %} +
+Translations: + {% for translation in article.translations %} + {{ translation.lang }} + {% endfor %} +
+{% endif %} +{% endmacro %} + +{% macro entry_hreflang(entry) %} +{% if entry.translations %} + {% for translation in entry.translations %} + + {% endfor %} +{% endif %} +{% endmacro %}