{{ if and .TableOfContents (not (.Params.disableToc | default false)) }}
  {{ $tocHighlight := resources.Get "js/toc-highlight.js" | js.Build | fingerprint }}
  <script src="{{ $tocHighlight.RelPermalink }}" integrity="{{ $tocHighlight.Data.Integrity }}" crossorigin="anonymous"></script>
{{ end }} 