diff options
| author | Eltrac <hi@guhub.cn> | 2025-05-23 09:18:42 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-05-23 09:18:42 +0800 |
| commit | 521337e41a47bda4d09954dcf7b66cb8640ac9a4 (patch) | |
| tree | 986ba4b3adb5008afa45e4f4f80fa675464643b9 /layouts/posts/single.html | |
| parent | 70fac1fc0863b1abd2e562f0c4d3d3d10d895d61 (diff) | |
chore: remove unused postHeaderContent hook
Former-commit-id: d2e61c0ae593a3414f7c7937bc41649ff468355c
Diffstat (limited to 'layouts/posts/single.html')
| -rw-r--r-- | layouts/posts/single.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 53182ef7..c08b7944 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -37,9 +37,13 @@ <!-- Post Content --> <div class="post-content markdown-body" style="view-transition-name: post-content-{{ .File.UniqueID }}"> - {{ if .Params.toc }}{{ partial "components/toc" . }}{{ end }} - {{ .Site.Params.postHeaderContent | safeHTML }} + <!-- TOC --> + {{ if .Params.toc }} + {{ partial "components/toc" . }} + {{ end }} + <!-- Content --> <div id="post-content">{{ .Content }}</div> + <!-- Endnotes --> {{ if .Params.endnotes }} <hr> <div id="post-endnotes"> |
