{{ $is_blog := and (eq .Type "blog") (eq .Kind "page") }} {{ $title_plain := .Title | markdownify | plainify }} {{ if eq $title_plain "Blog"}} SpeedTech | Blog {{ else if $is_blog}} SpeedTech | Blog - {{ $title_plain }} {{ else }} SpeedTech | {{ $title_plain }} {{ end }} {{ $keywords := .Site.Params.defaultMetaKeywords | default (slice "" | first 0) }} {{ range .Params.metaKeywords }}{{ $keywords = $keywords | append . }}{{ end }} {{ if gt (len $keywords) 0 }} {{ end }} {{ $description_plain := default .Site.Params.defaultMetaDescription .Params.metaDescription | markdownify | plainify }} {{ hugo.Generator }} {{ range .AlternativeOutputFormats -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{ partial "opengraph.html" . }} {{ partial "scripts.html" . }}