1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-02 19:17:21 +01:00
mkdocs-material/material/partials/language.html

15 lines
483 B
HTML

{#-
This file was automatically generated - do not edit
-#}
{% import "partials/language/" + config.theme.language + ".html" as lang %}
{% import "partials/language/en.html" as fallback %}
{% macro t(key) %}{{ {
"direction": config.theme.direction,
"search.language": (
config.extra.search | default({})
).language,
"search.tokenizer": (
config.extra.search | default({})
).tokenizer | default("", true),
}[key] or lang.t(key) or fallback.t(key) }}{% endmacro %}