diff --git a/sphinx/templates/structure.html b/sphinx/templates/structure.html index 90fb7542..cfb74a9a 100644 --- a/sphinx/templates/structure.html +++ b/sphinx/templates/structure.html @@ -41,18 +41,23 @@ {% if local_md_headings or local_subfolders %}
-

Index

-

- Current Index -

{% if local_md_headings %} +
+

+ Current Index +

{{ render_headings(local_md_headings) }} +
+
{% endif %} -

- Full Index -

{% if local_subfolders %} +
+

+ Full Index +

{{ render_headings(local_subfolders) }} +
+
{% endif %}
{% endif %}