feat: integrate a "table of content"
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
layout: blog.njk
|
||||
templateClass: tmpl-post
|
||||
---
|
||||
{%- if toc %}
|
||||
<aside class="left-side">
|
||||
{{ content | toc | safe }}
|
||||
</aside>
|
||||
{%- endif %}
|
||||
<div class="main-content">
|
||||
<h1>{{ title }}</h1>
|
||||
|
||||
|
Reference in New Issue
Block a user