{% block menu %}
<div class="globaltoc">
  <span class="mdl-layout-title toc">{{ _('') }}</span>
  {% set toctree = toctree(maxdepth=4, collapse=False, includehidden=True, titles_only=True) %}
  {% if toctree %}
      {% set lines = toctree.split('\n') %}
      <nav class="mdl-navigation">
          {{ toctree }}
      </nav>
  {% else %}
  <!-- Local TOC -->
  <nav class="mdl-navigation">{{ toc }}</nav>
  {% endif %}
  </div>
{% endblock %}
