aboutsummaryrefslogtreecommitdiffstats
path: root/photowall/templates/translations.html
diff options
context:
space:
mode:
authorroot <root@hhvm.trawg.com>2015-04-15 05:42:32 +1000
committerroot <root@hhvm.trawg.com>2015-04-15 05:42:32 +1000
commitd61467b2002305a4fde8cb3c5d928ba1781e08cb (patch)
treec99fbd304bc027c3e83028c807e7bfd052267b9e /photowall/templates/translations.html
parentb2a02381f5f5630b9b269130ab092c3b1a39b649 (diff)
downloadpelican-themes-d61467b2002305a4fde8cb3c5d928ba1781e08cb.tar.gz
first commit of Photowall theme
Diffstat (limited to 'photowall/templates/translations.html')
-rw-r--r--photowall/templates/translations.html8
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 %}