{{ if .Site.Params.googleTagManager }} {{ end }} {{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} {{ if .IsHome }} {{ .Site.Title }} {{ else if .Params.heading }} {{ .Params.heading }} {{ else }} {{ .Title }} | {{ .Site.Title }} {{ end }} {{ if .Description }} {{ else if .Site.Params.description }} {{ else if .Summary }} {{ end }} {{ if .Site.Params.author }} {{ end }} {{ if .Site.Params.twitter }} {{ end }} {{ if .Site.Params.opengraphImage}} {{ end }} {{ if .Description }} {{ else if .Site.Params.description }} {{ else if .Summary }} {{ end }} {{ if .Site.Params.favicon }} {{ end }} {{ if .RSSLink }} {{ end }} {{ if .Site.Params.customCSS }} {{ partial "css.html" . }} {{ end }} {{ if .Site.Params.highlightJS }} {{ end }} {{ if .Site.GoogleAnalytics }} {{ template "_internal/google_analytics.html" . }} {{ end }}