{{/* 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 */}} {{ $production := eq (getenv "HUGO_ENV") "production" | or (eq site.Params.env "production") }} {{ $public := not .Params.private }} {{ if and $production $public }}
{{ else }}
{{ end }} {{ with .Params.author | default .Site.Params.author }}
{{ end }} {{ partial "site-style.html" . }} {{ partial "site-scripts.html" . }} {{ block "favicon" . }} {{ partialCached "site-favicon.html" . }} {{ end }} {{ if .OutputFormats.Get "RSS" }} {{ with .OutputFormats.Get "RSS" }}
{{ end }} {{ end }} {{ if .Site.Params.canonicalUrlOverride }}
{{ else if .Params.canonicalUrl }}
{{ else }}
{{ end }} {{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}} {{- 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.html" . }} {{ end }} {{ block "head" . }}{{ partial "head-additions.html" . }}{{ end }} {{ block "header" . }}{{ partial "site-header.html" .}}{{ end }}
{{ block "main" . }}{{ end }}
{{ if hugo.IsProduction }} {{/* */}}
{{ end }} {{ block "footer" . }}{{ partialCached "site-footer.html" . }}{{ end }} {{ partial "search-applet.html" . }}