mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
added translation list in article template
This commit is contained in:
parent
8ad0dd7449
commit
77b73d0ab2
1 changed files with 8 additions and 0 deletions
|
|
@ -41,6 +41,14 @@
|
|||
{% endfor %}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if article.translations %}
|
||||
<li class="list-inline-item">
|
||||
<i class="fas fa-globe"></i>
|
||||
{% for translation in article.translations %}
|
||||
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
|
||||
{% endfor %}
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</header>
|
||||
<div class="content">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue