mirror of https://github.com/jpanther/congo.git
parent
136284e66b
commit
6e56d2daa1
|
@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Updated French translation ([#178](https://github.com/jpanther/congo/pull/178))
|
- Updated French translation ([#178](https://github.com/jpanther/congo/pull/178))
|
||||||
|
- Analytics partial now checks `hugo.IsProduction` instead of `.Site.IsServer` before including scripts ([#179](https://github.com/jpanther/congo/issues/179))
|
||||||
- Upgrade to Tailwind v3.0.24 ([#176](https://github.com/jpanther/congo/pull/176))
|
- Upgrade to Tailwind v3.0.24 ([#176](https://github.com/jpanther/congo/pull/176))
|
||||||
- Upgrade to Mermaid v9.0.1 ([#183](https://github.com/jpanther/congo/pull/183))
|
- Upgrade to Mermaid v9.0.1 ([#183](https://github.com/jpanther/congo/pull/183))
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{{ if not .Site.IsServer }}
|
{{ if hugo.IsProduction }}
|
||||||
{{ with .Site.Params.fathomAnalytics.site }}
|
{{ with .Site.Params.fathomAnalytics.site }}
|
||||||
{{ if isset $.Site.Params.fathomanalytics "domain" }}
|
{{ if isset $.Site.Params.fathomanalytics "domain" }}
|
||||||
<script defer src="https://{{ $.Site.Params.fathomanalytics.domain }}/script.js" data-site="{{ . }}"></script>
|
<script defer src="https://{{ $.Site.Params.fathomanalytics.domain }}/script.js" data-site="{{ . }}"></script>
|
||||||
|
|
Loading…
Reference in New Issue