Hardcode thumbnail name
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user