mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
4 lines
164 B
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 %}
|