Updated custom translations example

This commit is contained in:
squidfunk 2021-10-27 22:24:09 +02:00
parent 541c51edf6
commit cffb5920ca

View File

@ -193,7 +193,8 @@ adjust the ones you want to override:
<!-- Define custom translations --> <!-- Define custom translations -->
{% macro override(key) %}{{ { {% macro override(key) %}{{ {
"toc.title": "Auf dieser Seite" <!-- (2) --> "source.file.date.created": "Erstellt am", <!-- (2) -->
"source.file.date.updated": "Aktualisiert am"
}[key] }}{% endmacro %} }[key] }}{% endmacro %}
<!-- Re-export translations --> <!-- Re-export translations -->