{{ with .Title }}{{ . }}{{ end }} {{ if .Keywords }} {{ else if .Params.tags }} {{ end }} {{ if .Params.image }} {{ end }} {{ $related := first 3 (where (where (where .Site.Pages.ByDate.Reverse ".Type" "==" "articles") ".Params.tags" "intersect" .Params.tags) "Permalink" "!=" .Permalink) }} {{ if $related }} {{ range $related }} {{ end }} {{ end }} {{ with .Params.tags }}{{ range first 6 . }} {{ end }}{{ end }} {{ with .Site.Params.style }} {{ else }} {{ end }} {{ ` ` | safeHTML }} {{ with .OutputFormats.Get "RSS" }} {{ end }} {{- if (ne hugo.Environment "development") }} {{ template "_internal/google_analytics.html" . }} {{- end }}