Merge "Do not display title string of page local TOC"
This commit is contained in:
commit
26f32fd0c1
|
@ -1,4 +1,4 @@
|
||||||
{%- if theme_sidebar_mode == 'toctree' and theme_display_toc %}
|
{%- if theme_sidebar_mode == 'toctree' and theme_display_toc and display_toc %}
|
||||||
<h5><a href="{{ pathto(master_doc) }}">Contents</a></h5>
|
<h5><a href="{{ pathto(master_doc) }}">Contents</a></h5>
|
||||||
{{ toc }}
|
{{ toc }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
The title "Contents" of the page local TOC is now displayed
|
||||||
|
only when a page has sub-titles.
|
Loading…
Reference in New Issue