diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 8feff4d..35a652e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,5 +1,6 @@ + {{ with .Site.Params.google_verification -}} {{ end -}} diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index 45a7887..34e2025 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -161,4 +161,6 @@ {{ $res := resources.Get "/js/blog.js" | resources.Minify }} -{{ template "_internal/google_analytics_async.html" . }} \ No newline at end of file +{{ if not .Site.IsServer }} + {{ template "_internal/google_analytics_async.html" . }} +{{ end }} \ No newline at end of file