{% for toc_item in toc %}
{% for toc_item in toc_item.children %}
<li class=""><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
{% endfor %}