forked from github/pelican
List of translations for simple and notmyidea pages
This commit is contained in:
parent
67c576add6
commit
429991c3f9
6 changed files with 20 additions and 1 deletions
|
|
@ -1,6 +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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue