aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/includes/translations.html
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2013-09-12 23:09:49 -0700
committerJustin Mayer <entroP@gmail.com>2013-09-12 23:09:49 -0700
commita217f4239e87d4d17c518e0ecdb7cd20a6752f12 (patch)
treed105653aace2d690f01eea6d8eae2ce36341d3ec /pelican-bootstrap3/templates/includes/translations.html
parentb062b010425416601f9b623136d42cb88db09dc5 (diff)
parent8fc2dfd7e8fe863b9536f7b78a78856b97ed22b6 (diff)
downloadpelican-themes-a217f4239e87d4d17c518e0ecdb7cd20a6752f12.tar.gz
Merge pull request #127 from DandyDev/master
Added pelican-bootstrap3 theme
Diffstat (limited to 'pelican-bootstrap3/templates/includes/translations.html')
-rw-r--r--pelican-bootstrap3/templates/includes/translations.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/pelican-bootstrap3/templates/includes/translations.html b/pelican-bootstrap3/templates/includes/translations.html
new file mode 100644
index 0000000..65c5684
--- /dev/null
+++ b/pelican-bootstrap3/templates/includes/translations.html
@@ -0,0 +1,6 @@
+{% if article.translations %}
+<span class="label label-default">Lang</span>
+{% for translation in article.translations %}
+ <a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
+{% endfor %}
+{% endif %}