mirror of https://github.com/jpanther/congo.git
🐛 Fix Fathom Analytics script included twice
parent
234359dd9c
commit
83eebaefc0
|
@ -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
|
||||
|
|
|
@ -2,8 +2,9 @@
|
|||
{{ with .Site.Params.fathomAnalytics.site }}
|
||||
{{ if isset $.Site.Params.fathomanalytics "domain" }}
|
||||
<script src="https://{{ $.Site.Params.fathomanalytics.domain }}/script.js" data-site="{{ . }}" defer></script>
|
||||
{{ else }}
|
||||
<script src="https://cdn.usefathom.com/script.js" data-site="{{ . }}" defer></script>
|
||||
{{ end }}
|
||||
<script src="https://cdn.usefathom.com/script.js" data-site="{{ . }}" defer></script>
|
||||
{{ end }}
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue