Make more strings translatable (I hate how i18n is handled in Zola)

This commit is contained in:
daudix
2024-06-17 07:33:32 +03:00
parent 2abb4d234c
commit dab00bd98c
5 changed files with 34 additions and 14 deletions

View File

@ -1,11 +1,15 @@
<footer id="site-footer">
{% if config.extra.footer.show_copyright %}
<p title="Last built at {{ now() | date(format='%F %a %R') }}">&copy; {{ config.title }}, {{ now() | date(format="%Y") }}</p>
<p title="Last built at {{ now() | date(format='%F %a %R') }}">
&copy; {{ config.title }}, {{ now() | date(format="%Y") }}
</p>
{% endif %}
{% if config.extra.source_url and config.extra.footer.show_source %}
<p>
<a href="{{ config.extra.source_url }}">{{ trans(key='footer_source', lang=lang) }}</a>
<a href="{{ config.extra.source_url }}">
{{ trans(key='footer_source', lang=lang) }}
</a>
</p>
{% endif %}