{{ $featured := "" }}

{{- with .Params.images -}}
  {{ $featured = ( index . 0 ) }}"/>
{{ else -}}
  {{- with .Site.Params.images -}}
    {{ $featured = ( index . 0 ) }}"/>
  {{ end }}
{{ end }}

{{ return $featured }}
