diff --git a/CHANGELOG.md b/CHANGELOG.md index e2c0022..f141b8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Upgrade to Tailwind v3.3.2 ([#74](https://github.com/jpanther/lynx/pull/74)) +### Fixed + +- Error building site when using Hugo v0.112.0 or later ([#73](https://github.com/jpanther/lynx/issues/73)) + ## [1.2.4] - 2023-01-18 ### Changed diff --git a/layouts/partials/analytics.html b/layouts/partials/analytics.html index 5ed1b98..f8c7c2c 100644 --- a/layouts/partials/analytics.html +++ b/layouts/partials/analytics.html @@ -1,4 +1,4 @@ -{{ if not .Site.IsServer }} +{{ if hugo.IsProduction }} {{ with .Site.Params.fathomAnalytics.site }} {{ if isset $.Site.Params.fathomanalytics "domain" }}