diff options
| author | Eltrac <hi@guhub.cn> | 2025-08-26 10:28:00 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-08-26 10:28:00 +0800 |
| commit | 6fc8a8a1e563bea6c9efcc19f2424f45009a71de (patch) | |
| tree | 3426f897eac1628bc3b5ef78eb4649c6561f7128 /layouts/page.html | |
| parent | 52345965347199d43452168fd4462e06e0dbdaf1 (diff) | |
feat: add toc to library and normal pages
Former-commit-id: e7f41626f0e3d8019562ef2d7a3d99e05e0b1e55
Diffstat (limited to 'layouts/page.html')
| -rw-r--r-- | layouts/page.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/page.html b/layouts/page.html index e8e4221b..7b01bf7c 100644 --- a/layouts/page.html +++ b/layouts/page.html @@ -3,6 +3,7 @@ <article> <div id="post-content" class="post-content markdown-body leading-loose" style="view-transition-name: post-content-{{ .File.UniqueID }}"> + {{ partial "posts/toc" . }} {{ .Content }} </div> </article> |
