{{ $isHome := .IsHome }} {{ $desc := .Site.Params.description }}{{ with .Description }}{{ $desc = . }}{{ end }} {{ if $isHome }}{{ .Site.Title }} — {{ .Site.Params.description }}{{ else }}{{ .Title }} — {{ .Site.Title }}{{ end }} {{/* tell search engines about the other language version of this page */}} {{ range .AllTranslations }} {{ end }} {{/* social card image: project thumbnail, else home hero, else site default */}} {{ $ogimg := .Site.Params.ogImage }} {{ with .Params.heroImage }}{{ $ogimg = . }}{{ end }} {{ with .Params.thumbnail }}{{ $ogimg = . }}{{ end }} {{ $ogabs := "" }}{{ with $ogimg }}{{ $ogabs = . | absURL }}{{ end }} {{ with $ogabs }}{{ end }} {{ with $ogabs }}{{ end }} {{ $site := resources.Get "css/site.css" }} {{ $custom := resources.Get "css/custom.css" }} {{ $css := slice $site $custom | resources.Concat "css/bundle.css" | minify | fingerprint }} {{ if $isHome }} {{ end }}