mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-30 18:24:35 +01:00
Formatting
This commit is contained in:
parent
4bdfef47eb
commit
25c91b967a
@ -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 %}
|
||||
<nav class="md-nav md-nav--secondary" aria-label="{{ title }}">
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
<!-- Determine title -->
|
||||
{% 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 %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user