mkdocs-material/material/partials/language.html

4 lines
164 B
HTML

{% set code = config.extra.language | default("en") %}
{% import "partials/language/" + code + ".html" as lang %}
{% macro t(key) %}{{ lang.t(key) }}{% endmacro %}