From d2e61c0ae593a3414f7c7937bc41649ff468355c Mon Sep 17 00:00:00 2001 From: Eltrac Date: Fri, 23 May 2025 09:18:42 +0800 Subject: chore: remove unused postHeaderContent hook --- layouts/_default/single.html | 1 - layouts/fictions/single.html | 1 - layouts/posts/single.html | 8 ++++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index d23ceed4..e7798602 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -7,7 +7,6 @@
- {{ .Site.Params.postHeaderContent | safeHTML }} {{ .Content }}
diff --git a/layouts/fictions/single.html b/layouts/fictions/single.html index d59e54c5..85ab59de 100644 --- a/layouts/fictions/single.html +++ b/layouts/fictions/single.html @@ -23,7 +23,6 @@
- {{ .Site.Params.postHeaderContent | safeHTML }} {{ .Content }}
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 @@
- {{ if .Params.toc }}{{ partial "components/toc" . }}{{ end }} - {{ .Site.Params.postHeaderContent | safeHTML }} + + {{ if .Params.toc }} + {{ partial "components/toc" . }} + {{ end }} +
{{ .Content }}
+ {{ if .Params.endnotes }}
-- cgit v1.2.3