diff options
author | Corné Haasjes <c.haasjes@lumc.nl> | 2025-04-01 19:38:31 +0200 |
---|---|---|
committer | Corné Haasjes <c.haasjes@lumc.nl> | 2025-04-01 19:38:31 +0200 |
commit | b8715b0cf2a4a371c45703704da9d8232f6cf907 (patch) | |
tree | e92b292c8ba5a1d55bf2918bbedc4c9698ebd796 /layouts/_default | |
parent | 9794243a3ff85aae024d6a8f7439702cc66f3f73 (diff) |
Add support for hooks in layouts/partials/hooks
Supported hooks:
- head_start
- head_end
- body_end
- footer_start
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/baseof.html | 2 |
1 files changed, 2 insertions, 0 deletions
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" .) }} </body> <script src="{{ "js/theme-switch.js" | relURL }}"></script> |