️ refactor: improve table of contents accessibility

main
welpo 2 years ago
parent e4c6705843
commit 1c93df0a6f
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

@ -155,8 +155,6 @@
{% for h2 in h1.children %} {% for h2 in h1.children %}
<li> <li>
<a href="{{ h2.permalink | safe }}">{{ h2.title }}</a> <a href="{{ h2.permalink | safe }}">{{ h2.title }}</a>
</li>
{% if h2.children %} {% if h2.children %}
<ul> <ul>
{% for h3 in h2.children %} {% for h3 in h2.children %}
@ -166,6 +164,7 @@
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
</li>
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}

Loading…
Cancel
Save