docs-matrix-spec/layouts/partials/hooks/body-end.html
Kévin Commaille 7867ebb250
Remove type and language attributes of script element (#2021)
The `type` attribute is not needed when the content is JavaScript,
and the `language` attribute is deprecated.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2024-12-10 22:57:13 +00:00

10 lines
289 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>