diff --git a/themes/lhs/layouts/blog/list.html b/themes/lhs/layouts/blog/list.html index ea9836f..280aab0 100644 --- a/themes/lhs/layouts/blog/list.html +++ b/themes/lhs/layouts/blog/list.html @@ -15,12 +15,14 @@

{{ .Key }}

{{- range .Pages }} -{{ $image := .Resources.GetMatch .Params.listing_image }} -{{ $image = $image.Fill "512x512 Center jpg" }}
- + {{ with .Resources.GetMatch .Params.listing_image }} + {{ $image := . }} + {{ $image = $image.Fill "512x512 Center jpg" }} + + {{ end }}

{{.Title}} - {{ .Params.author }}
@@ -32,4 +34,4 @@

{{- end }} {{- end }} -{{ end }} \ No newline at end of file +{{ end }}