{{index . 1}} doesn't work

Is there a reason why {{with .Params.images}}<link rel="preload" crossOrigin as="image" href="{{index . 1}}">{{end}} produces

<link rel=preload crossorigin as=image href>

despite the given page (and all others) have this in their frontend:
images = ["banners/adam_eve_fall_eden.webp"]

? What did I do wrong ?
Thanks

{{ index $myslice 0 }} should be the first element

Oh damn… shîîîîþ :smile:
thanks

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.