diff --git a/hugolib/embedded_templates_test.go b/hugolib/embedded_templates_test.go index e04a37f63..23d809281 100644 --- a/hugolib/embedded_templates_test.go +++ b/hugolib/embedded_templates_test.go @@ -50,7 +50,7 @@ Disqus: b.AssertFileContent("public/index.html", "'anonymizeIp', true", "'script','https://www.google-analytics.com/analytics.js','ga');\n\tga('create', 'ga_id', 'auto')", - " - + {{ end }} {{- end -}}`}, {`google_news.html`, `{{ if .IsPage }}{{ with .Params.news_keywords }} diff --git a/tpl/tplimpl/embedded/templates/google_analytics_async.html b/tpl/tplimpl/embedded/templates/google_analytics_async.html index 6a88ed855..976be11fc 100755 --- a/tpl/tplimpl/embedded/templates/google_analytics_async.html +++ b/tpl/tplimpl/embedded/templates/google_analytics_async.html @@ -23,6 +23,6 @@ if (!doNotTrack) { ga('send', 'pageview'); } - + {{ end }} -{{- end -}} \ No newline at end of file +{{- end -}}