diff options
| author | Uwe Kleine-König <uwe@kleine-koenig.org> | 2016-10-23 22:38:55 +0200 |
|---|---|---|
| committer | Uwe Kleine-König <uwe@kleine-koenig.org> | 2016-10-23 22:38:55 +0200 |
| commit | 432285bda8a96f0e5bdff52d4d726ad2397b3ac8 (patch) | |
| tree | b86acea2dc86e2e4fc9c3e09f6965a8c6260a5f3 /theme/templates/translations.html | |
initial approach for new flug website
Diffstat (limited to 'theme/templates/translations.html')
| -rw-r--r-- | theme/templates/translations.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/theme/templates/translations.html b/theme/templates/translations.html new file mode 100644 index 0000000..7894bb0 --- /dev/null +++ b/theme/templates/translations.html @@ -0,0 +1,8 @@ +{% macro translations_for(article) %} +{% if article.translations %} +Translations: + {% for translation in article.translations %} + <a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a> + {% endfor %} +{% endif %} +{% endmacro %} |
