mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-17 23:07:50 +00:00
Add translation contributors to edition-3 page template too
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user