Merge pull request #310 from snide/mobile-nav-block

Add template block around mobile_nav
This commit is contained in:
Eric Holscher 2016-07-20 12:44:09 -07:00 committed by GitHub
commit 9d4cbf2cb8

View File

@ -137,8 +137,10 @@
{# MOBILE NAV, TRIGGLES SIDE NAV ON TOGGLE #}
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="{{ pathto(master_doc) }}">{{ project }}</a>
{% block mobile_nav %}
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="{{ pathto(master_doc) }}">{{ project }}</a>
{% endblock %}
</nav>