toc.html 323 B

12345678
  1. {% for toc_item in toc %}
  2. {% for toc_h2_item in toc_item.children %}
  3. <li class=""><a href="{{ toc_h2_item.url }}">{{ toc_h2_item.title }}</a></li>
  4. {% for toc_h3_item in toc_h2_item.children %}
  5. <h3><a href="{{ toc_h3_item.url }}">{{ toc_h3_item.title }}</a></h3>
  6. {% endfor %}
  7. {% endfor %}
  8. {% endfor %}