From e44034d456adf8b2fc230e0392446bfb1ef2c87b Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sun, 21 Nov 2021 23:26:11 +0100 Subject: [PATCH] Cleaned up toc partial --- material/partials/toc.html | 2 +- src/partials/toc.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 %}