Add translation contributors to edition-3 page template too

This commit is contained in:
Philipp Oppermann
2022-12-18 11:52:49 +01:00
parent 264fd90abe
commit 2642fa80e8
2 changed files with 18 additions and 0 deletions

View File

@@ -74,6 +74,17 @@
{%- endif -%}
<a href="https://github.com/{{user}}">@{{user}}</a>
{%- endfor %}.
{%- if page.extra.translation_contributors %}
<span class="translation_contributors">
{{ trans(key="translation_contributors", lang=lang) }} {% for user in page.extra.translation_contributors -%}
{%- if not loop.first -%}
{%- if loop.last %} {{ trans(key="word_separator", lang=lang) }} {% else %}, {% endif -%}
{%- endif -%}
<a href="https://github.com/{{user}}">@{{user}}</a>
{%- endfor %}.
</span>
{% endif -%}
</p>
{% endif -%}
</div>