From 308192bedc6f61ea5fec142745f99a82f1ca60d1 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Tue, 22 Nov 2022 11:03:28 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20Don't=20cache=20extend=20partial?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + layouts/partials/footer.html | 2 +- layouts/partials/head.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 012471f0..d17c1480 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Changed +- Extended head and footer partials are no longer cached during builds - Upgrade to Chart.js v4.0.1 ([#373](https://github.com/jpanther/congo/pull/373)) ### Fixed diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index dbf2e703..76170270 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -69,6 +69,6 @@ {{/* Extend footer - eg. for extra scripts, etc. */}} {{ if templates.Exists "partials/extend-footer.html" }} - {{ partialCached "extend-footer.html" . }} + {{ partial "extend-footer.html" . }} {{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b38862b1..5f45f67c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -109,6 +109,6 @@ {{ partialCached "analytics.html" .Site }} {{/* Extend head - eg. for custom analytics scripts, etc. */}} {{ if templates.Exists "partials/extend-head.html" }} - {{ partialCached "extend-head.html" .Site }} + {{ partial "extend-head.html" .Site }} {{ end }}