[dev-random] Translations support !

This commit is contained in:
m-r-r
2012-06-03 12:35:29 +02:00
parent e66da8b11b
commit a77b2490db
2 changed files with 15 additions and 0 deletions

View File

@@ -20,6 +20,13 @@
<div class="meta">
Dans «<a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>»
par <a href="{{ SITEURL }}/author/{{article.author}}.html">{{ article.author}}</a>
{% if article.translations %}
&nbsp;&nbsp; Langues:
<a href="{{ SITEURL }}/{{ article.url }}">{{ article.lang or DEFAULT_LANG }}</a>
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
</div>
</header>
<div class="post-content">