Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions exampleSite/content/posts/gruyaert/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ title: 'On Harry Gruyaert'
date: 2026-05-18
url: /posts/gruyaert/
lede: 'Colour as weather — the Belgian who photographed light itself and let the subject arrive later.'
tileImages: ['22.jpg', '8.jpg', '30.jpg', '14.jpg']
---

Gruyaert came to colour when colour was still suspect, and made a case for it that no
Expand Down
11 changes: 11 additions & 0 deletions layouts/postlist/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@
{{- $posts := where site.RegularPages "Type" "post" -}}
{{- range $post := $posts.ByDate.Reverse -}}
{{- $frames := $post.Resources.ByType "image" -}}
{{- with $post.Params.tileImages -}}
{{- $picked := slice -}}
{{- range $name := . -}}
{{- with $post.Resources.GetMatch $name -}}
{{- $picked = $picked | append . -}}
{{- end -}}
{{- end -}}
{{- if $picked -}}
{{- $frames = $picked -}}
{{- end -}}
{{- end -}}
{{- if $frames -}}
<a
class="tile"
Expand Down