We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bdfef4 commit 25c91b9Copy full SHA for 25c91b9
material/partials/toc.html
@@ -3,7 +3,7 @@
3
-#}
4
{% import "partials/language.html" as lang with context %}
5
{% set title = title | default(lang.t("toc.title")) %}
6
-{% if "toc" in config.mdx_configs and config.mdx_configs.toc.title %}
+{% if config.mdx_configs.toc and config.mdx_configs.toc.title %}
7
{% set title = config.mdx_configs.toc.title %}
8
{% endif %}
9
<nav class="md-nav md-nav--secondary" aria-label="{{ title }}">
src/partials/toc.html
@@ -24,7 +24,7 @@
24
25
<!-- Determine title -->
26
27
28
29
30
0 commit comments