Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au> Upstream-commit: c237f9f201bbf5c4b06fbfd65254eb2af75e136f Component: engine
12 lines
351 B
HTML
12 lines
351 B
HTML
{% for toc_item in toc %}
|
|
{% for toc_h2_item in toc_item.children %}
|
|
<li class=""><a href="{{ toc_h2_item.url }}">{{ toc_h2_item.title }}</a>
|
|
<ul>
|
|
{% for toc_h3_item in toc_h2_item.children %}
|
|
<li><a href="{{ toc_h3_item.url }}">{{ toc_h3_item.title }}</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
{% endfor %}
|
|
{% endfor %}
|