2021-01-13 00:31:01 +01:00
|
|
|
{{/*
|
|
|
|
|
|
|
|
|
|
This template is included at the end of each page's `<body>`.
|
|
|
|
|
|
2024-11-12 23:53:46 +01:00
|
|
|
We're using it here to highlight and scroll the ToC in the sidebar to match
|
|
|
|
|
the place we are at in the document.
|
2021-01-13 00:31:01 +01:00
|
|
|
|
|
|
|
|
*/}}
|
2024-11-14 12:11:34 +01:00
|
|
|
{{ $toc := resources.Get "js/toc.js" -}}
|
2024-12-10 23:57:13 +01:00
|
|
|
<script defer src="{{ $toc.RelPermalink }}"></script>
|
2025-12-04 13:24:28 +01:00
|
|
|
|
|
|
|
|
{{- /* Load the versions script template, run and publish it */ -}}
|
|
|
|
|
{{ with resources.Get "js/versions.template.js" }}
|
|
|
|
|
{{ with resources.ExecuteAsTemplate "js/versions.js" $ . }}
|
|
|
|
|
<script defer src="{{ .RelPermalink }}"></script>
|
|
|
|
|
{{ end }}
|
|
|
|
|
{{ end }}
|