diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index e16d319..9a90116 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -31,7 +31,7 @@ {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} - {{ if .Site.GoogleAnalytics }} + {{ if .Site.Config.Services.GoogleAnalytics.ID }} {{ partial "cookie-consent.html" . }} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index d069ecc..d31ea19 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -83,7 +83,7 @@ {{ end }} - {{ if or (ne ($.Param "sharingicons") false) (.Site.DisqusShortname) }} + {{ if or (ne ($.Param "sharingicons") false) (.Site.Config.Services.Disqus.Shortname) }}