{{ $site_author := or site.Author.name site.Params.name site.Title }} {{ if eq .Kind "page" }} {{ else }} {{ end }} {{ $main := resources.Get "main.css" }} {{ $custom := resources.Get "custom.css" }} {{ $css := slice $main $custom | resources.Concat "main.css" | minify }} {{ $dark_icon := "theme.png" }} {{ if site.Params.monoDarkIcon }}{{ $dark_icon = "theme.svg" }}{{ end }} {{ $avatar_url := $.Scratch.Get "avatar_url" }} {{ if $avatar_url }} {{ end }} {{ range $.Scratch.Get "social_list" }} {{ end }} {{ if and .IsPage (not site.Params.disableHLJS) }} {{ end }} {{ if or .Params.math site.Params.math }} {{ partial "math.html" . }} {{ end }} {{ hugo.Generator }} {{ if or hugo.IsProduction (eq site.Params.env "production") }} {{ template "_internal/google_analytics.html" . }} {{ template "_internal/schema.html" . }} {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }} {{ range .AlternativeOutputFormats }} {{ end }} {{ end }}