From 83eebaefc0dc1c5cd9f3831cc8e719059c1095bf Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Wed, 25 Aug 2021 13:31:53 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20Fathom=20Analytics=20scrip?= =?UTF-8?q?t=20included=20twice?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + layouts/partials/analytics.html | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f1039d2..ddf56515 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] ### Fixed - Missing dark style for group subheadings on article listings +- Fathom Analytics script included twice when using custom domain ## [1.2.0] - 2021-08-22 ### Added diff --git a/layouts/partials/analytics.html b/layouts/partials/analytics.html index 0787f40b..5f92a104 100644 --- a/layouts/partials/analytics.html +++ b/layouts/partials/analytics.html @@ -2,8 +2,9 @@ {{ with .Site.Params.fathomAnalytics.site }} {{ if isset $.Site.Params.fathomanalytics "domain" }} + {{ else }} + {{ end }} - {{ end }} {{ template "_internal/google_analytics.html" . }} {{ end }}