From 2413243a55d29272613eb18726df093f42b3c684 Mon Sep 17 00:00:00 2001 From: Razon Yang Date: Tue, 19 Dec 2023 18:06:38 +0800 Subject: [PATCH] feat: add the hb-blog-post-content-afterbegin and hb-blog-post-content-beforeend hooks (#565) --- layouts/partials/hb/modules/blog/single.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/hb/modules/blog/single.html b/layouts/partials/hb/modules/blog/single.html index b155e747..04be80df 100644 --- a/layouts/partials/hb/modules/blog/single.html +++ b/layouts/partials/hb/modules/blog/single.html @@ -32,7 +32,9 @@

{{ .Title }}

+ {{- partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-post-content-afterbegin" "Page" .) }} {{ .Content }} + {{- partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-post-content-beforeend" "Page" .) }}
{{- partial "hugopress/functions/render-hooks" (dict "Name" "hb-blog-post-content-end" "Page" .) }} {{- partial "hb/modules/blog/post/comments" . }}