{{- $title := ( .Title ) -}} {{- $siteTitle := ( .Site.Title ) -}} {{- if .IsHome -}}
{{ $siteTitle }}
{{- else -}}
{{ $title }} - {{ $siteTitle }}
{{- end -}} {{- if isset .Site.Params "favicon" -}}
{{- end -}}
{{ with .OutputFormats.Get "rss" -}} {{ printf `
` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{- template "_internal/opengraph.html" . -}} {{- template "_internal/twitter_cards.html" . -}} {{ if .Site.Params.useCDN | default false -}}
{{- else -}} {{ $fontstyle := resources.Get "css/fonts.css" | fingerprint }}
{{ end }} {{ $style := resources.Get "css/main.css" | fingerprint }}
{{- if isset .Site.Params "customcss" }} {{ range .Site.Params.customCSS }} {{ $customstyle := resources.Get . | fingerprint }}
{{ end }} {{- end -}} {{- range .Site.Params.customJS }} {{- if or (hasPrefix . "http://") (hasPrefix . "https://") }} {{- else if (hasPrefix . " {{- end }} {{- end }}