Hi,
I’d like to slugify the values of an array (page.taxonomies["tags"]
) before sorting them. Is there a way to do that?
Applying slugify
to the array is not valid.
I was hoping for something like:
{% for tag in page.taxonomies["tags"] | map(slugify) | sort %}
Thanks for any insight!
(yes, I’m coming back to Zola so Emile might get a revival soon ;-))
Did a workaround, see the end of this post:
But it’s still a cool feature to have, not with map
as it’s taken, maybe apply