summaryrefslogtreecommitdiff
path: root/layouts/posts/page.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-08-26 10:28:00 +0800
committerEltrac <hi@guhub.cn>2025-08-26 10:28:00 +0800
commit6fc8a8a1e563bea6c9efcc19f2424f45009a71de (patch)
tree3426f897eac1628bc3b5ef78eb4649c6561f7128 /layouts/posts/page.html
parent52345965347199d43452168fd4462e06e0dbdaf1 (diff)
feat: add toc to library and normal pages
Former-commit-id: e7f41626f0e3d8019562ef2d7a3d99e05e0b1e55
Diffstat (limited to 'layouts/posts/page.html')
-rw-r--r--layouts/posts/page.html7
1 files changed, 1 insertions, 6 deletions
diff --git a/layouts/posts/page.html b/layouts/posts/page.html
index 545be626..ef891f7e 100644
--- a/layouts/posts/page.html
+++ b/layouts/posts/page.html
@@ -37,13 +37,8 @@
<!-- Post Content -->
<div class="min-h-[60%] leading-loose mb-8 markdown-body"
style="view-transition-name: post-content-{{ .File.UniqueID }}">
- <!-- TOC -->
{{ partial "posts/toc" . }}
- <!-- Content -->
- <div id="post-content">
- {{ .Content }}
- </div>
- <!-- Endnotes -->
+ <div id="post-content">{{ .Content }}</div>
{{ partial "posts/endnotes" . }}
</div>