}}
      {{ partial "gtag.html" . }}
    {{ end }}

    {{ $hasMath := .Param "math" }}
    {{ if $hasMath }}
      {{ partialCached "math.html" . }}
    {{ end }}

  </head>

  <body
    class="ma0 sans-serif bg-primary-color-light{{ with getenv "HUGO_ENV" }} {{ . }}{{ end }}">
    {{ partial "hooks/after-body-start.html" . }}
    {{ block "nav" . }}{{ partial "site-nav.html" . }}{{ end }}
    {{ block "header" . }}{{ end }}
    <main role="main" class="content-with-sidebar min-vh-100 pb7 pb0-ns">
      {{