diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2013-05-08 10:54:59 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2013-05-08 15:47:02 +0200 |
commit | 22e881fa89e4b3b8f6207d2c2e8713c2ff919400 (patch) | |
tree | aed2733a92661a803801ab8876558d794c62e515 /theme/templates/translations.html | |
parent | faf19242226324b95ad96cb01d29131e7ba65e50 (diff) |
Added articlelogo on main page
Diffstat (limited to 'theme/templates/translations.html')
-rw-r--r-- | theme/templates/translations.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/theme/templates/translations.html b/theme/templates/translations.html new file mode 100644 index 0000000..121ff1a --- /dev/null +++ b/theme/templates/translations.html @@ -0,0 +1,10 @@ +{% macro translations_for(article) %} +{% if article.translations %} +<details class="meta"> +Traductions : +{% for translation in article.translations %} +<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a> +{% endfor %} +</details> +{% endif %} +{% endmacro %} |