diff --git a/themes/cactus/layouts/partials/head.html b/themes/cactus/layouts/partials/head.html index 96c0ea7..6bc7ff6 100644 --- a/themes/cactus/layouts/partials/head.html +++ b/themes/cactus/layouts/partials/head.html @@ -41,7 +41,7 @@ {{ printf `` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }} {{ end }} {{ end }} - {{ if .Site.GoogleAnalytics }} + {{ if .Site.Config.Services.GoogleAnalytics.ID }} {{ template "_internal/google_analytics.html" . }} {{ end }}