{{/* NOTE: the Site's title, and if there is a page title, that is set too */}}
{{ block "title" . }}{{ with .Params.Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}
{{ hugo.Generator }} {{/* NOTE: For Production make sure you add `HUGO_ENV="production"` before your build command */}} {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
{{ else }}
{{ end }} {{ $stylesheet := .Site.Data.webpack_assets.app }} {{ with $stylesheet.css }}
{{ end }} {{ range .Site.Params.custom_css }}
{{ end }} {{ block "favicon" . }} {{ partialCached "site-favicon.html" . }} {{ end }} {{ if .OutputFormats.Get "RSS" }} {{ with .OutputFormats.Get "RSS" }}
{{ end }} {{ end }} {{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L158 */}} {{- template "_internal/opengraph.html" . -}} {{- template "_internal/schema.html" . -}} {{- template "_internal/twitter_cards.html" . -}} {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} {{ template "_internal/google_analytics_async.html" . }} {{ end }} {{ block "head" . }}{{ partial "head-additions.html" }}{{ end }} {{ block "header" . }}{{ partial "site-header.html" .}}{{ end }}
{{ block "main" . }}{{ end }}
{{ block "footer" . }}{{ partialCached "site-footer.html" . }}{{ end }} {{ block "scripts" . }}{{ partialCached "site-scripts.html" . }}{{ end }}