mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed table of contents title not showing
This commit is contained in:
parent
ad2c800bc4
commit
3e9b72c104
@ -2,8 +2,8 @@
|
||||
This file was automatically generated - do not edit
|
||||
-#}
|
||||
{% set title = lang.t("toc") %}
|
||||
{% if config.mdx_configs.toc and config.mdx_configs.toc %}
|
||||
{% set title = config.mdx_configs.toc %}
|
||||
{% if config.mdx_configs.toc and config.mdx_configs.toc.title %}
|
||||
{% set title = config.mdx_configs.toc.title %}
|
||||
{% endif %}
|
||||
<nav class="md-nav md-nav--secondary" aria-label="{{ title }}">
|
||||
{% set toc = page.toc %}
|
||||
|
@ -22,8 +22,8 @@
|
||||
|
||||
<!-- Determine title -->
|
||||
{% set title = lang.t("toc") %}
|
||||
{% if config.mdx_configs.toc and config.mdx_configs.toc %}
|
||||
{% set title = config.mdx_configs.toc %}
|
||||
{% if config.mdx_configs.toc and config.mdx_configs.toc.title %}
|
||||
{% set title = config.mdx_configs.toc.title %}
|
||||
{% endif %}
|
||||
|
||||
<!-- Table of contents -->
|
||||
|
Loading…
Reference in New Issue
Block a user