diff options
| author | Eltrac <hi@guhub.cn> | 2024-12-19 15:53:18 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2024-12-19 15:53:18 +0800 |
| commit | 3a583c32bd30b6230ea03815ebea9f8c50db229c (patch) | |
| tree | 776a488abc41327c375c611d4bd4556d11b61532 /layouts/_default/single.html | |
| parent | d5e989e878e2f1a4dc9814381a589e86b38769c5 (diff) | |
feat(theme): add tocbot for table of content
Diffstat (limited to 'layouts/_default/single.html')
| -rw-r--r-- | layouts/_default/single.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index f212dd36..51d9cacd 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -32,6 +32,7 @@ <!-- Post Content --> <div id="post-content" class="post-content markdown-body"> + <div id="toc-container"><div id="toc"></div></div> {{ .Site.Params.postHeaderContent | safeHTML }} {{ .Content }} </div> |
