{#- Knotis override: YAML-title pages use body h1 headings as section headings, so their top-level TOC items must remain visible. Legacy pages still drop the first h1 page title and show its children, matching Material/Zensical default. -#} {% import "partials/language.html" as lang with context %} {% set title = lang.t("toc") %} {% if config.mdx_configs.toc and config.mdx_configs.toc.title %} {% set title = config.mdx_configs.toc.title %} {% endif %}