{{ $titleScratch := $.Scratch.Get "title" }} {{if .IsHome }}{{ .Site.Params.HomeTitle }}{{ else }}{{ if $titleScratch }}{{ $titleScratch }}{{ else }}{{ replace .Title "-" " " }}{{ end }}{{if ne .Site.Title .Title }} | {{ .Site.Title }}{{ end }}{{ end }} {{ $description := $.Scratch.Get "description" }} {{ if $description }} {{ else if (or ( .IsHome ) ( and (not .Description) (not .Summary) )) }} {{ else if .Description }} {{ else if .IsPage }} {{ end }} {{ $style := resources.Get "css/bootstrap.css" | minify | fingerprint }} {{ $style := resources.Get "css/kicad.css" | minify | fingerprint }} {{ $style := resources.Get "/fontawesome/css/all.min.css" | fingerprint }} {{ if $.Scratch.Get "additional_head_tags" }}{{ $.Scratch.Get "additional_head_tags" | safeHTML }}{{ end }} {{ "" | safeHTML }} {{ template "_internal/opengraph.html" . }} {{ template "_internal/google_news.html" . }} {{ template "_internal/schema.html" . }} {{ template "_internal/twitter_cards.html" . }} {{ partial "jsonld.html" . }} {{ if not .IsHome }}
{{end}}