mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-28 11:48:36 +01:00
18 lines
547 B
HTML
18 lines
547 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>
|
|
|
|
{{- /* 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 }}
|