forked from github/pelican
Fix translation feature. Add translation support to the notmyidea theme.
This commit is contained in:
parent
2f6300af46
commit
79576f25b6
9 changed files with 33 additions and 40 deletions
6
pelican/themes/notmyidea/templates/translations.html
Normal file
6
pelican/themes/notmyidea/templates/translations.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{% if article.translations %}
|
||||
Translations:
|
||||
{% for translation in article.translations %}
|
||||
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue