Fix side nav in project docs

This commit is contained in:
Tom Christie 2019-07-16 09:31:29 +01:00
parent 908516f2bd
commit a4c2d4f0d5

View File

@ -91,12 +91,12 @@
{% for toc_item in page.toc %}
<li class="{% if page and not page.is_homepage %}main{% endif %}">
<a href="{{ toc_item.url|url }}">{{ toc_item.title }}</a>
<a href="{{ toc_item.url }}">{{ toc_item.title }}</a>
</li>
{% for toc_item in toc_item.children %}
<li>
<a href="{{ toc_item.url|url }}">{{ toc_item.title }}</a>
<a href="{{ toc_item.url }}">{{ toc_item.title }}</a>
</li>
{% endfor %}
{% endfor %}