From 561852b7a1f6f92555224b31ba8c8f43d7da3e0b Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Wed, 4 Jun 2025 17:57:59 +0200 Subject: [PATCH] re-cache `item-tile` partial --- .../partials/cv/organisation/organisation-items-tiles.html | 4 ++-- layouts/partials/items-grid.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/cv/organisation/organisation-items-tiles.html b/layouts/partials/cv/organisation/organisation-items-tiles.html index c224f70..310726d 100644 --- a/layouts/partials/cv/organisation/organisation-items-tiles.html +++ b/layouts/partials/cv/organisation/organisation-items-tiles.html @@ -19,7 +19,7 @@
{{ range first 4 $content }} - {{ partialCached "item-tile.html" . ( print $organisation_title "_" $section_title "_" .Title ) }} + {{ partialCached "item-tile.html" . . }} {{ end }}
{{- if gt ( len $content ) 4 -}} @@ -27,7 +27,7 @@
{{ range after 4 $content }} - {{ partial "item-tile.html" . }} + {{ partialCached "item-tile.html" . . }} {{ end }}
diff --git a/layouts/partials/items-grid.html b/layouts/partials/items-grid.html index 959d1b7..e7862da 100644 --- a/layouts/partials/items-grid.html +++ b/layouts/partials/items-grid.html @@ -4,7 +4,7 @@ {{ partialCached "header-tile.html" . .Key }} {{ range .Pages }} {{ if ( not ( .IsDescendant ( .GetPage "/cv/roles" ) ) ) }} - {{ partial "item-tile.html" . }} + {{ partialCached "item-tile.html" . . }} {{ end }} {{ end }} {{ end }}