feat: add table of contents to blog posts
This commit is contained in:
parent
05748fd193
commit
dbaca137f7
3 changed files with 14 additions and 0 deletions
|
@ -16,6 +16,8 @@
|
|||
</div>
|
||||
|
||||
<div class="markdown">
|
||||
{% include "post/table-of-contents" with { toc: page.toc } only %}
|
||||
|
||||
{{ parent() }}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue