re-cache item-tile partial

This commit is contained in:
Ben Goldsworthy 2025-06-04 17:57:59 +02:00
parent edba5d203e
commit 561852b7a1
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@
<h2 class="subheading related-items-title">{{ $section_title }} ({{ len $content }})</h2>
<div class="index">
{{ range first 4 $content }}
{{ partialCached "item-tile.html" . ( print $organisation_title "_" $section_title "_" .Title ) }}
{{ partialCached "item-tile.html" . . }}
{{ end }}
</div>
{{- if gt ( len $content ) 4 -}}
@ -27,7 +27,7 @@
<div class="index">
{{ range after 4 $content }}
{{ partial "item-tile.html" . }}
{{ partialCached "item-tile.html" . . }}
{{ end }}
</div>
</details>

View file

@ -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 }}