But now I want to get the 1st image of that range as the meta Open Graph image:
{{ with .Params.imgs }}
<meta property="og:image" content="{{ . | absURL }}">
{{ end }}
- it produces no error, but picks no value.
I can range all of them, but I need only the 1st one.
I tried the first function, but can’t make out how it works.
Can someone tell me how to get the 1st image?
Thank you!