Display TOC in sidebar
This commit is contained in:
1 parent
b851a127c7
commit
e7d373f886
4 files changed
+61
-22
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user