1
0

Display TOC in sidebar

This commit is contained in:
2025-05-15 21:02:19 +02:00
parent b851a127c7
commit e7d373f886
4 changed files with 61 additions and 22 deletions

View File

@ -29,6 +29,10 @@
<li><a href="{{ get_url(path=item.path, trailing_slash=true) }}">{{ item.title }}</a></li>
{% endfor %}
</ul>
{% if page.toc and not page.extra.notoc %}
<span class="title">Table of Contents</span>
{{ macros::toc() }}
{% endif %}
<span class="title">Categories</span>
{{ macros::list_taxonomy(kind="categories") }}
</nav>