From c4ca7ca486ecd67c8f6bba31551a6ee0d1455926 Mon Sep 17 00:00:00 2001 From: Minh-Hieu Pham <43398131+henrypham67@users.noreply.github.com> Date: Sun, 3 May 2026 21:46:22 +0700 Subject: [PATCH] feat: add extend_post_content.html hook partials for post sections (#1846) Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com> --- layouts/_partials/extend_post_content.html | 4 ++++ layouts/single.html | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 layouts/_partials/extend_post_content.html diff --git a/layouts/_partials/extend_post_content.html b/layouts/_partials/extend_post_content.html new file mode 100644 index 00000000..34a8a07d --- /dev/null +++ b/layouts/_partials/extend_post_content.html @@ -0,0 +1,4 @@ +{{- /* Post content custom area start */ -}} +{{- /* Insert any custom code after post content - it will appear after the post body, before the footer. */ -}} +{{- /* Can be overwritten by partial with the same name in the global layouts. */ -}} +{{- /* Post content custom area end */ -}} diff --git a/layouts/single.html b/layouts/single.html index e5508498..19323b2f 100644 --- a/layouts/single.html +++ b/layouts/single.html @@ -42,6 +42,8 @@ {{- end }} + {{- partial "extend_post_content.html" . }} +