theme/templates/translations.html

Wed, 13 Mar 2024 11:03:13 +0100

author
David Douard <david.douard@sdf3.org>
date
Wed, 13 Mar 2024 11:03:13 +0100
changeset 152
96ebc76edfaf
parent 36
9507107a1133
permissions
-rw-r--r--

Update URLs for pcb & firmware to sourcehut

{% macro translations_for(article) %}
{% if article.translations %}
Translations: 
{% for translation in article.translations %}
<a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% endmacro %}

mercurial