lix-website/themes/lix/layouts/partials/utilities/get-featured-image.html

12 lines
220 B
HTML
Raw Permalink Normal View History

2024-04-27 03:39:10 +00:00
{{ $featured := "" }}
{{- with .Params.images -}}
{{ $featured = ( index . 0 ) }}"/>
{{ else -}}
{{- with .Site.Params.images -}}
{{ $featured = ( index . 0 ) }}"/>
{{ end }}
{{ end }}
{{ return $featured }}