🚸 Don't cache extend partials

pull/383/head
James Panther 2022-11-22 11:03:28 +11:00
parent 4fed4e6ef8
commit 308192bedc
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
3 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Changed ### 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)) - Upgrade to Chart.js v4.0.1 ([#373](https://github.com/jpanther/congo/pull/373))
### Fixed ### Fixed

View File

@ -69,6 +69,6 @@
</div> </div>
{{/* Extend footer - eg. for extra scripts, etc. */}} {{/* Extend footer - eg. for extra scripts, etc. */}}
{{ if templates.Exists "partials/extend-footer.html" }} {{ if templates.Exists "partials/extend-footer.html" }}
{{ partialCached "extend-footer.html" . }} {{ partial "extend-footer.html" . }}
{{ end }} {{ end }}
</footer> </footer>

View File

@ -109,6 +109,6 @@
{{ partialCached "analytics.html" .Site }} {{ partialCached "analytics.html" .Site }}
{{/* Extend head - eg. for custom analytics scripts, etc. */}} {{/* Extend head - eg. for custom analytics scripts, etc. */}}
{{ if templates.Exists "partials/extend-head.html" }} {{ if templates.Exists "partials/extend-head.html" }}
{{ partialCached "extend-head.html" .Site }} {{ partial "extend-head.html" .Site }}
{{ end }} {{ end }}
</head> </head>