matrix-spec/layouts/_partials/hooks/body-end.html
Johannes Marbach 1a813ff434 Add version picker in the navbar
Fixes: #951
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2025-12-01 16:21:16 +01:00

13 lines
399 B
HTML

{{/*
This template is included at the end of each page's `<body>`.
We're using it here to highlight and scroll the ToC in the sidebar to match
the place we are at in the document.
*/}}
{{ $toc := resources.Get "js/toc.js" -}}
<script defer src="{{ $toc.RelPermalink }}"></script>
{{ $versions := resources.Get "js/versions.js" -}}
<script defer src="{{ $versions.RelPermalink }}"></script>