Cleaned up toc partial

This commit is contained in:
squidfunk 2021-11-21 23:26:11 +01:00
parent 0ceed63825
commit e44034d456
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{#- {#-
This file was automatically generated - do not edit 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 %} {% if config.mdx_configs.toc and config.mdx_configs.toc.title %}
{% set title = config.mdx_configs.toc.title %} {% set title = config.mdx_configs.toc.title %}
{% endif %} {% endif %}

View File

@ -21,7 +21,7 @@
--> -->
<!-- Determine title --> <!-- Determine title -->
{% 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 %} {% if config.mdx_configs.toc and config.mdx_configs.toc.title %}
{% set title = config.mdx_configs.toc.title %} {% set title = config.mdx_configs.toc.title %}
{% endif %} {% endif %}