Skip to content
Snippets Groups Projects
Commit 3e9b72c1 authored by squidfunk's avatar squidfunk
Browse files

Fixed table of contents title not showing

parent ad2c800b
No related branches found
No related tags found
No related merge requests found
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
This file was automatically generated - do not edit This file was automatically generated - do not edit
-#} -#}
{% set title = lang.t("toc") %} {% set title = lang.t("toc") %}
{% if config.mdx_configs.toc and config.mdx_configs.toc %} {% if config.mdx_configs.toc and config.mdx_configs.toc.title %}
{% set title = config.mdx_configs.toc %} {% set title = config.mdx_configs.toc.title %}
{% endif %} {% endif %}
<nav class="md-nav md-nav--secondary" aria-label="{{ title }}"> <nav class="md-nav md-nav--secondary" aria-label="{{ title }}">
{% set toc = page.toc %} {% set toc = page.toc %}
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
<!-- Determine title --> <!-- Determine title -->
{% set title = lang.t("toc") %} {% set title = lang.t("toc") %}
{% if config.mdx_configs.toc and config.mdx_configs.toc %} {% if config.mdx_configs.toc and config.mdx_configs.toc.title %}
{% set title = config.mdx_configs.toc %} {% set title = config.mdx_configs.toc.title %}
{% endif %} {% endif %}
<!-- Table of contents --> <!-- Table of contents -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment