{% extends "!layout.html" %}

  {% block menu %}
    {{ super() }}
    {% if theme_index_in_nav %}
    <ul class="current">
    <li class="toctree-l1">
        <a class="reference internal" href= "{{pathto('genindex.html', 1)}}">Index</a>
      </li>
    </ul>
    {% endif %}
  {% endblock %}