From 25c91b967a06ce39396c4ef2e90e67680c74fea3 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Wed, 27 Oct 2021 19:03:48 +0200 Subject: [PATCH] Formatting --- 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 2fdb565c6..e249225ac 100644 --- a/material/partials/toc.html +++ b/material/partials/toc.html @@ -3,7 +3,7 @@ -#} {% import "partials/language.html" as lang with context %} {% set title = title | default(lang.t("toc.title")) %} -{% if "toc" in config.mdx_configs and config.mdx_configs.toc.title %} +{% if config.mdx_configs.toc and config.mdx_configs.toc.title %} {% set title = config.mdx_configs.toc.title %} {% endif %}