Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

generic-toc-nested.html 437 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  1. <ul>
  2. {% for tocItem in genericTocNested %}
  3. {% assign title = tocItem.title %}
  4. {% assign fullPath = tocItem.fullPath %}
  5. <li>{% include liquid-tags/link %}
  6. {% if tocItem.childTocItems %}
  7. <ul>
  8. {% for childItem in tocItem.childTocItems %}
  9. {% assign title = childItem.title %}
  10. {% assign fullPath = childItem.fullPath %}
  11. <li>{% include liquid-tags/link %}</li>
  12. {% endfor %}
  13. </ul>
  14. {% endif %}
  15. </li>
  16. {% endfor %}
  17. </ul>
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...