{{$image := .Params.image}} {{$imgSrc := resources.Get $image}}
<img
  src="{{$imgSrc.Permalink}}"
  alt="{{ .Title }}"
  data-pagefind-index-attrs="title,alt"
  class="story__coverImg"
  loading="lazy"
/>
