re-cache item-tile
partial
This commit is contained in:
parent
edba5d203e
commit
561852b7a1
2 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue