Put body_end above footer

This commit is contained in:
Corné Haasjes 2025-04-01 21:23:08 +02:00
parent 3865ee6a19
commit 157c87d95e

View file

@ -24,6 +24,9 @@
</main> </main>
</div> </div>
{{/* Body end hook */}}
{{ partial "functions/get_hook.html" (dict "hook" "body_end" "context" .) }}
<footer> <footer>
{{ partial "footer.html" . }} {{ partial "footer.html" . }}
</footer> </footer>
@ -31,9 +34,6 @@
{{ if .Param "math" }} {{ if .Param "math" }}
{{ partialCached "math.html" . }} {{ partialCached "math.html" . }}
{{ end }} {{ end }}
{{/* Body end hook */}}
{{ partial "functions/get_hook.html" (dict "hook" "body_end" "context" .) }}
</body> </body>
<script src="{{ "js/theme-switch.js" | relURL }}"></script> <script src="{{ "js/theme-switch.js" | relURL }}"></script>