mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-23 06:55:43 -06:00
8 lines
No EOL
357 B
HTML
8 lines
No EOL
357 B
HTML
{{- $images := .Resources.ByType "image" -}}
|
|
{{- $featured := $images.GetMatch "*feature*" -}}
|
|
{{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}}
|
|
{{- with $featured -}}
|
|
{{ with .Resize "1200x" }}
|
|
<img class="w-full rounded-lg single_hero_round nozoom" src="{{ .RelPermalink }}">
|
|
{{ end }}
|
|
{{- end -}} |