{{ $version := index (split .File.Path "/") 0 }} {{ block "title" . }}{{ .Site.Title }}{{ end }} {{ block "main" . }}{{ end }} {{ if eq ( getenv "HUGO_ENV" ) "production" }} {{ template "_internal/google_analytics_async.html" . }} {{ end }}