From bd603475c7594f2647255cc51d67e122113c5d85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Wed, 24 May 2023 22:46:46 +0100 Subject: [PATCH] small fix --- layouts/partials/analytics.html | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/layouts/partials/analytics.html b/layouts/partials/analytics.html index 081fb572..5a678e96 100644 --- a/layouts/partials/analytics.html +++ b/layouts/partials/analytics.html @@ -1,11 +1,9 @@ -{{ if not hugo.IsProduction }} - {{ with site.Params.fathomAnalytics.site }} - {{ if isset $.Site.Params.fathomanalytics "domain" }} - - {{ else }} - - {{ end }} - {{ end }} - {{/* template "_internal/google_analytics.html" . */}} - {{ partial "ga-analytics.html" }} +{{ with site.Params.fathomAnalytics.site }} +{{ if isset $.Site.Params.fathomanalytics "domain" }} + +{{ else }} + {{ end }} +{{ end }} +{{/* template "_internal/google_analytics.html" . */}} +{{ partial "ga-analytics.html" }} \ No newline at end of file