ght_active_link }}#navbar-main{{else}}#TableOfContents{{end}}" class="{{ if not (.Scratch.Get "light") }}dark{{end}} {{ if not $show_navbar }}no-navbar{{end}}">

  {{/* Load day/night theme. */}}
  {{/* Initialise default theme. */}}
  {{ if site.Params.day_night }}
    <script>window.wcDarkLightEnabled = true;</script>
  {{ end }}
  {{ if eq (.Scratch.Get "light") true }}
    <script>const isSiteThemeDark = false;</script>
  {{ else }}
    <script>const isSiteThemeDark = true;</script>
  {{ end }}
  {{ $lo