1
0
mirror of synced 2025-12-23 11:54:18 -05:00
Files
docs/includes/generic-toc-nested.html
2021-05-21 16:12:33 -04:00

20 lines
437 B
HTML

<ul>
{% for tocItem in genericTocNested %}
{% assign title = tocItem.title %}
{% assign fullPath = tocItem.fullPath %}
<li>{% include liquid-tags/link %}
{% if tocItem.childTocItems %}
<ul>
{% for childItem in tocItem.childTocItems %}
{% assign title = childItem.title %}
{% assign fullPath = childItem.fullPath %}
<li>{% include liquid-tags/link %}</li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>