s.GoogleAnalytics.ID }}
  <link rel="preconnect" href="https://www.googletagmanager.com" crossorigin />
  {{ partial "google-analytics.html" . }}
{{- end }}

  <script>
    /* Initialize light/dark mode */
    const defaultTheme = '{{ site.Params.theme.default | default `system`}}';

    const setDarkTheme = () => {
      document.documentElement.classList.add("dark");
      document.documentElement.style.colorScheme = "dark";
    }
    const setLightTheme = () => {
      document.documentElement.classList.