mirror of https://github.com/jpanther/congo.git
🚸 Don't cache extend partials
parent
4fed4e6ef8
commit
308192bedc
|
@ -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
|
||||
|
|
|
@ -69,6 +69,6 @@
|
|||
</div>
|
||||
{{/* Extend footer - eg. for extra scripts, etc. */}}
|
||||
{{ if templates.Exists "partials/extend-footer.html" }}
|
||||
{{ partialCached "extend-footer.html" . }}
|
||||
{{ partial "extend-footer.html" . }}
|
||||
{{ end }}
|
||||
</footer>
|
||||
|
|
|
@ -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 }}
|
||||
</head>
|
||||
|
|
Loading…
Reference in New Issue