Skip to content

Commit e38fc16

Browse files
authored
Merge pull request #15511 from tacaswell/fix_nav_location
DOC: fix nav location
2 parents 9de466c + 269910d commit e38fc16

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

doc/_templates/layout.html

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,17 @@ <h3>{{ _('Navigation') }}</h3>
197197
<div id="forkongithub"><a href="https://github.com/matplotlib/matplotlib">Fork me on GitHub</a></div>
198198
</div>
199199

200+
201+
<nav class="main-nav">
202+
<ul>
203+
<li><a href="{{ pathto('users/installing') }}">Installation</a></li>
204+
<li><a href="{{ pathto('contents') }}">Documentation</a></li>
205+
<li><a href="{{ pathto('gallery/index') }}">Examples</a></li>
206+
<li><a href="{{ pathto('tutorials/index') }}">Tutorials</a></li>
207+
<li><a href="{{ pathto('devel/index') }}">Contributing</a></li>
208+
</ul>
209+
</nav>
210+
200211
{% endblock %}
201212

202213
{%- block relbar2 %}
@@ -229,15 +240,6 @@ <h3>{{ _('Navigation') }}</h3>
229240
<div class="clearer"></div>
230241
</div>
231242

232-
<nav class="main-nav">
233-
<ul>
234-
<li><a href="{{ pathto('users/installing') }}">Installation</a></li>
235-
<li><a href="{{ pathto('contents') }}">Documentation</a></li>
236-
<li><a href="{{ pathto('gallery/index') }}">Examples</a></li>
237-
<li><a href="{{ pathto('tutorials/index') }}">Tutorials</a></li>
238-
<li><a href="{{ pathto('devel/index') }}">Contributing</a></li>
239-
</ul>
240-
</nav>
241243
{%- endblock %}
242244

243245
{%- block footer %}

0 commit comments

Comments
 (0)