I have the following snippet:
{{ range $index, $element := sort .Site.Data.team “weight” }}
I want to check when enumerating if the actual item is the last one.
I already tried several attempts, but all failed.
Do anyone knows how to check if actual item in Site.Data enumeration (when sorted) is the last item?!
Thanks in advance!
Cheers
Zcs