Skip to content

Commit 8c31a26

Browse files
schettino72Blendify
authored andcommitted
Add navigation template block (#659)
* Add the ``extranav`` block after the ``menu`` block in the template. * Use one big navigation block * Update changelog.rst
1 parent 6c87660 commit 8c31a26

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docs/changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Fixes
1414
Other Changes
1515
--------------
1616

17+
* Add the ``navigation`` template block around the navigation area.
18+
1719
0.4.3
1820
======
1921

sphinx_rtd_theme/layout.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@
142142
{% endblock %}
143143
</div>
144144

145+
{% block navigation %}
145146
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
146147
{% block menu %}
147148
{#
@@ -162,6 +163,7 @@
162163
{% endif %}
163164
{% endblock %}
164165
</div>
166+
{% endblock %}
165167
</div>
166168
</nav>
167169

0 commit comments

Comments
 (0)