aboutsummaryrefslogtreecommitdiffstats
path: root/tuxlite_zf/templates/translations.html
diff options
context:
space:
mode:
authorMatt <s@tuxlite.com>2013-03-12 17:24:22 +0000
committerMatt <s@tuxlite.com>2013-03-12 17:24:22 +0000
commitd5f56689a8ac207ef57dd8bcccced8e85ad3a3ed (patch)
tree25520321f3a40a2599c7d3c6b286dbd37c92ef50 /tuxlite_zf/templates/translations.html
parent53d6c4254aa2b4781b850419d63a40527c307d71 (diff)
downloadpelican-themes-d5f56689a8ac207ef57dd8bcccced8e85ad3a3ed.tar.gz
Add new TuxLite_ZF theme.
Diffstat (limited to 'tuxlite_zf/templates/translations.html')
-rw-r--r--tuxlite_zf/templates/translations.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/tuxlite_zf/templates/translations.html b/tuxlite_zf/templates/translations.html
new file mode 100644
index 0000000..ca03a2c
--- /dev/null
+++ b/tuxlite_zf/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 %}