diff options
author | root <root@hhvm.trawg.com> | 2015-04-15 05:42:32 +1000 |
---|---|---|
committer | root <root@hhvm.trawg.com> | 2015-04-15 05:42:32 +1000 |
commit | d61467b2002305a4fde8cb3c5d928ba1781e08cb (patch) | |
tree | c99fbd304bc027c3e83028c807e7bfd052267b9e /photowall/templates/translations.html | |
parent | b2a02381f5f5630b9b269130ab092c3b1a39b649 (diff) | |
download | pelican-themes-d61467b2002305a4fde8cb3c5d928ba1781e08cb.tar.gz |
first commit of Photowall theme
Diffstat (limited to 'photowall/templates/translations.html')
-rw-r--r-- | photowall/templates/translations.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/photowall/templates/translations.html b/photowall/templates/translations.html new file mode 100644 index 0000000..7894bb0 --- /dev/null +++ b/photowall/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 %} |