From b8715b0cf2a4a371c45703704da9d8232f6cf907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Corn=C3=A9=20Haasjes?= Date: Tue, 1 Apr 2025 19:38:31 +0200 Subject: Add support for hooks in layouts/partials/hooks Supported hooks: - head_start - head_end - body_end - footer_start --- layouts/_default/baseof.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'layouts/_default') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 7a5579d..4ff7215 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -32,6 +32,8 @@ {{ partialCached "math.html" . }} {{ end }} + {{/* Body end hook */}} + {{ partial "functions/get_hook.html" (dict "hook" "body_end" "context" .) }} -- cgit v1.2.3