How to enable table of content ?
Table of content
This theme supports displaying table of content in blog posts.
To enable it, globally set toc to true in config.toml:
[params]
toc = true
This will enable table of content for all posts. If you want to enable it for a specific post, add toc = true to the front matter of the post:
---
title: How to enable table of content
date: 2023-05-02
toc: true
---
订阅更新
留下邮箱,新文章发布时第一时间通知你。