mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 07:46:15 +02:00
♿️ refactor: improve table of contents accessibility
This commit is contained in:
parent
e4c6705843
commit
1c93df0a6f
1 changed files with 11 additions and 12 deletions
|
@ -155,8 +155,6 @@
|
|||
{% for h2 in h1.children %}
|
||||
<li>
|
||||
<a href="{{ h2.permalink | safe }}">{{ h2.title }}</a>
|
||||
</li>
|
||||
|
||||
{% if h2.children %}
|
||||
<ul>
|
||||
{% for h3 in h2.children %}
|
||||
|
@ -166,6 +164,7 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue