Mercurial > hg > Blog
diff themes/tuxlite_tbs/templates/metadata.html @ 42:51d2ddc51e40
update the theme with the latest changes from upstream
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 30 Sep 2014 03:53:59 +0200 |
parents | 6e2bcaecf3ec |
children |
line wrap: on
line diff
--- a/themes/tuxlite_tbs/templates/metadata.html Tue Sep 30 03:37:41 2014 +0200 +++ b/themes/tuxlite_tbs/templates/metadata.html Tue Sep 30 03:53:59 2014 +0200 @@ -2,6 +2,12 @@ {% if article.author %} by <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a> + {% if article.translations %} + <a href="{{ SITEURL }}/{{ article.url }}" class="btn btn-info xsmall">{{ article.lang or DEFAULT_LANG }}</a> + {% for translation in article.translations %} + <a href="{{ SITEURL }}/{{ translation.url }}" class="btn btn-info xsmall">{{ translation.lang }}</a> + {% endfor %} + {% endif %} {% endif %} {# Filed under <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a> #}