Add "menu" block

This commit is contained in:
gl3n 2014-09-10 16:03:31 +02:00
parent 21e875d3a5
commit 196a4b1c79

View File

@ -89,6 +89,7 @@
</div> </div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
{% block menu %}
{% set toctree = toctree(maxdepth=2, collapse=False, includehidden=True) %} {% set toctree = toctree(maxdepth=2, collapse=False, includehidden=True) %}
{% if toctree %} {% if toctree %}
{{ toctree }} {{ toctree }}
@ -96,6 +97,7 @@
<!-- Local TOC --> <!-- Local TOC -->
<div class="local-toc">{{ toc }}</div> <div class="local-toc">{{ toc }}</div>
{% endif %} {% endif %}
{% endblock %}
</div> </div>
&nbsp; &nbsp;
</nav> </nav>