From 6204bf3fc1566f31164e70fd19f6936527cb79d5 Mon Sep 17 00:00:00 2001 From: razonyang Date: Sun, 14 Jul 2024 20:10:24 +0800 Subject: [PATCH] feat: add the hb-docs-nav-afterbegin and hb-docs-nav-beforeend hooks Please note that those two hooks will be cached by per first section regardless of hooks cache settings Closes #747 --- layouts/partials/hb/modules/docs/nav.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/hb/modules/docs/nav.html b/layouts/partials/hb/modules/docs/nav.html index 1b3c3bfd..e2bc29e5 100644 --- a/layouts/partials/hb/modules/docs/nav.html +++ b/layouts/partials/hb/modules/docs/nav.html @@ -14,12 +14,14 @@
data-bs-target=".hb-docs-nav">
+ {{ partial "hugopress/functions/render-hooks" (dict "Page" . "Name" "hb-docs-nav-afterbegin") }} + {{ partial "hugopress/functions/render-hooks" (dict "Page" . "Name" "hb-docs-nav-beforeend") }}