aboutsummaryrefslogtreecommitdiffstats
path: root/zurb-F5-basic/templates/translations.html
diff options
context:
space:
mode:
authorShuaib Hanief <shuaib@hanief.net>2013-12-31 22:54:56 -0500
committerShuaib Hanief <shuaib@hanief.net>2013-12-31 22:54:56 -0500
commit49f5657d936e352112fdcfa61473f5f38cda1c14 (patch)
tree75f480ed27af49c8dd1149344b967b5676d2460e /zurb-F5-basic/templates/translations.html
parenteada362fff3da25eae0ca9283ac5fcb2f65e2e6a (diff)
downloadpelican-themes-49f5657d936e352112fdcfa61473f5f38cda1c14.tar.gz
add a theme based on the new Zurb Foundation 5 framework
Diffstat (limited to 'zurb-F5-basic/templates/translations.html')
-rw-r--r--zurb-F5-basic/templates/translations.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/zurb-F5-basic/templates/translations.html b/zurb-F5-basic/templates/translations.html
new file mode 100644
index 0000000..ca03a2c
--- /dev/null
+++ b/zurb-F5-basic/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 %}