diff --git a/CHANGELOG.md b/CHANGELOG.md index 7eafbda2..3c877c3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Upgrade to Chart.js v4.2.1 ([#472](https://github.com/jpanther/congo/pull/472)) - Upgrade to Tailwind v3.2.7 ([#491](https://github.com/jpanther/congo/pull/491)) +### Fixed + +- Caching the analytics partial prevents some advanced analytics use cases ([#480](https://github.com/jpanther/congo/issues/480)) + ## [2.5.2] - 2023-01-24 ### Added diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 4810a528..857f255b 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -106,9 +106,9 @@ {{/* Vendor */}} {{ partial "vendor.html" . }} {{/* Analytics */}} - {{ partialCached "analytics.html" .Site }} + {{ partial "analytics.html" . }} {{/* Extend head - eg. for custom analytics scripts, etc. */}} {{ if templates.Exists "partials/extend-head.html" }} {{ partial "extend-head.html" .Site }} {{ end }} - + \ No newline at end of file