aboutsummaryrefslogtreecommitdiffstats
path: root/bricabrac/templates/translations.html
diff options
context:
space:
mode:
authorBricabraque <bricabrac@openaliasbox.org>2017-02-21 00:12:00 +0100
committerBricabraque <bricabrac@openaliasbox.org>2017-02-21 00:12:00 +0100
commit185f6fdd3da30e6cfce6156992bd1fb15d79015d (patch)
treeaf70eacd15b7cbe2114913b2acf28a0296911e34 /bricabrac/templates/translations.html
parent42412ba752da93242a9784d9df5f6b680bce2d73 (diff)
downloadpelican-themes-185f6fdd3da30e6cfce6156992bd1fb15d79015d.tar.gz
Add bricabrac theme
Diffstat (limited to 'bricabrac/templates/translations.html')
-rw-r--r--bricabrac/templates/translations.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/bricabrac/templates/translations.html b/bricabrac/templates/translations.html
new file mode 100644
index 0000000..0079883
--- /dev/null
+++ b/bricabrac/templates/translations.html
@@ -0,0 +1,6 @@
+{% if article.translations %}
+Translations:
+ {% for translation in article.translations %}
+ <a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
+ {% endfor %}
+{% endif %}