Hardcode thumbnail name

This commit is contained in:
2024-10-24 13:07:53 +02:00
parent 9e79b08227
commit 210e2a5170
2 changed files with 3 additions and 7 deletions

View File

@@ -1,9 +1,6 @@
{{- $first := true -}}
{{- $filter := images.AutoOrient -}}
{{- $teaser := "" -}}
{{- with .Params.teaserImage -}}
{{- $teaser = $.Resources.GetMatch . -}}
{{- end -}}
{{- $teaser := .Resources.GetMatch "thumbnail.jpg" -}}
{{- range .Resources.ByType "image" -}}
{{- if not (eq $teaser .) -}}
{{- if not $first }}, {{ end }}