diff --git a/layouts/partials/analytics.html b/layouts/partials/analytics.html index 8ae56fb..860bac5 100644 --- a/layouts/partials/analytics.html +++ b/layouts/partials/analytics.html @@ -1,6 +1,6 @@ {{ with site.Params.features.analytics }} - {{ if .enable }} + {{ if or .enable .enabled }} {{ with .services }} {{ with .google }} @@ -18,12 +18,12 @@ {{ end }} - {{ with .goatCounter }} - {{ if .selfHosted }} - - {{ else }} - - {{ end }} + {{ with .goatCounter }} + {{ with .code }} + + {{ else }} + + {{ end }} {{ end }}