{{ partialCached "_shared/csp.html" . }} {{ if .Params.image }}{{ $original := print "images/" (path.Base .Params.image) }}{{ $originalImg := .Resources.GetMatch $original }}{{ if $originalImg }}{{ $thumbnailImg := $originalImg.Resize "90x" }}{{ printf `` $thumbnailImg.RelPermalink | safeHTML }}{{end}}{{end}} {{ hugo.Generator }} {{ partialCached "_shared/icons.html" . }} {{ with .Site.Params.logo }}{{ end }}{{ if .Params.canonicalUrl }} {{ end }}{{ $title := printf "%s | %s" .Page.Title .Site.Title }}{{ $mainPage := false }}{{ if eq .Page.Title .Site.Title }}{{ $title = .Page.Title }}{{ $mainPage = true }}{{ end }} {{ $title }} {{ with or .Page.Description .Site.Params.description }}{{ end }} {{ with or .Params.tags .Site.Params.keywords }}{{ with delimit . "," }}{{ end }}{{ end }} {{ if or .Params.image .Site.Params.author.thumbnail }} {{ with or .Params.image .Site.Params.author.thumbnail }} {{ end }} {{ else }} {{ end }} {{ $type := "website"}}{{ if .IsPage }}{{ $type = "article" }}{{ end }} {{ with .Page.Title }} {{ end }} {{ with or .Page.Description .Site.Params.description }} {{ end }} {{ if .IsPage }} {{ if eq .Type "blog" }} {{ $titleMeta := printf "%s" .Title }} {{ $description := printf "%s" .Summary }} {{ if .Description }} {{ $description = printf "%s" .Description }} {{ end }} {{ end }} {{ end }} {{ partial "_shared/customanalytics.html" . }}