♿️ refactor: improve table of contents accessibility
This commit is contained in:
parent
e4c6705843
commit
1c93df0a6f
@ -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…
x
Reference in New Issue
Block a user