{{ $title := .Title | default .Site.Title }} {{ $description := .Description | default .Site.Params.Description }} {{ $image := .Params.image | default (.Scratch.Get "avatarImgSrc") }} {{ $siteKeywords := .Site.Params.MetaKeywords | default (slice) }} {{ $postKeywords := .Params.tags | default (slice) }} {{ $keywords := union $siteKeywords $postKeywords }} {{ if .IsHome }} {{ lower .Site.Title }} | home {{else}} {{ lower .Site.Title }} | {{ lower $title}} {{ end }} {{ $cssNormalize := resources.Get "css/normalize.min.css" }} {{ $cssMain := resources.Get "css/main.css" | minify }} {{ $cssDark := resources.Get "css/dark.css" | minify }} {{ $jsBundle := resources.Match "js/**.js" | resources.Concat "js/bundle.js" | minify | resources.Fingerprint "sha256" }} {{ if .Site.Params.CustomHeadHTML }} {{ .Site.Params.CustomHeadHTML | safeHTML }} {{ end }}