We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 125b914 commit b8f24f4Copy full SHA for b8f24f4
docs/_includes/toc.html
docs/_layouts/default.html
@@ -18,7 +18,11 @@ <h2>Quick Navigation</h2>
18
{% if item.toc %}
19
<button onclick="toggleTOC('{{ item.title | replace: ' ', '-' }}')">Details</button>
20
<div id="toc-{{ item.title | replace: ' ', '-' }}" class="toc-content hidden">
21
- {% include toc.html %}
+ <ul>
22
+ {% for heading in page.content | toc %}
23
+ <li><a href="#{{ heading.id }}">{{ heading.text }}</a></li>
24
+ {% endfor %}
25
+ </ul>
26
</div>
27
{% endif %}
28
</li>
0 commit comments