mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Formatting
This commit is contained in:
parent
4bdfef47eb
commit
25c91b967a
@ -3,7 +3,7 @@
|
|||||||
-#}
|
-#}
|
||||||
{% import "partials/language.html" as lang with context %}
|
{% import "partials/language.html" as lang with context %}
|
||||||
{% set title = title | default(lang.t("toc.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 %}
|
{% 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 }}">
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
<!-- Determine title -->
|
<!-- Determine title -->
|
||||||
{% set title = title | default(lang.t("toc.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 %}
|
{% set title = config.mdx_configs.toc.title %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user