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/partials/footer.html | |
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/partials/footer.html')
-rw-r--r-- | layouts/partials/footer.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 579e50a..cb20f6f 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,8 @@ {{ $showFooter := default true .Site.Params.showFooter }} {{ if $showFooter }} + {{/* Footer start hook */}} + {{ partial "functions/get_hook.html" (dict "hook" "footer_start" "context" .) }} + {{ if not .Site.Params.footerContent }} <p>Powered by <a href="https://gohugo.io/">Hugo</a> |