From a2135b64b2eed5f3eeb855990aa691248400767e Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Thu, 22 Dec 2022 11:31:02 +0100 Subject: [PATCH] adds analytics test partials --- layouts/partials/analytics.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 layouts/partials/analytics.html diff --git a/layouts/partials/analytics.html b/layouts/partials/analytics.html new file mode 100644 index 0000000..ce47ca5 --- /dev/null +++ b/layouts/partials/analytics.html @@ -0,0 +1,18 @@ +{{ if hugo.IsProduction }} + {{ with .Site.Params.fathomAnalytics.site }} + {{ if isset $.Site.Params.fathomanalytics "domain" }} + + {{ else }} + + {{ end }} + {{ end }} + + + {{ template "_internal/google_analytics.html" . }} +{{ end }} \ No newline at end of file