{#- Copyright (c) 2026 Humberto Sandmann and contributors SPDX-License-Identifier: MIT Language selector, replacing the theme's partial. Shows the current language in the header, and links to the current page in other languages, falling back to their home pages if the page doesn't exist there. -#} {% set i18n = config.extra.i18n %} {% if i18n %} {% if config.theme.variant == "modern" %} {% set check = "lucide/check" %} {% set chevron = "lucide/chevron-down" %} {% else %} {% set check = "material/check" %} {% set chevron = "material/chevron-down" %} {% endif %} {% set icon = config.theme.icon.alternate or "material/translate" %}
{% include "partials/i18n/styles.html" %} {% include "partials/i18n/script.html" %}
{% endif %}