diff --git a/material/partials/toc.html b/material/partials/toc.html index 96f825d74..34575d9fa 100644 --- a/material/partials/toc.html +++ b/material/partials/toc.html @@ -1,7 +1,7 @@ {#- This file was automatically generated - do not edit -#} -{% set title = title | default(lang.t("toc.title")) %} +{% set title = lang.t("toc.title") %} {% if config.mdx_configs.toc and config.mdx_configs.toc.title %} {% set title = config.mdx_configs.toc.title %} {% endif %} diff --git a/src/partials/toc.html b/src/partials/toc.html index 386470e2f..b8aeafbdb 100644 --- a/src/partials/toc.html +++ b/src/partials/toc.html @@ -21,7 +21,7 @@ --> -{% set title = title | default(lang.t("toc.title")) %} +{% set title = lang.t("toc.title") %} {% if config.mdx_configs.toc and config.mdx_configs.toc.title %} {% set title = config.mdx_configs.toc.title %} {% endif %}