Any plans to implement a function like this? It would be neat.
On Jekyll I had implemented this, like:{% assign posts=site.posts | where:"ref", page.ref | sort: 'lang' %} {% for post in posts %} <link rel="alternate" hreflang="{{ post.lang }}" href="{{ site.url }}{{ post.url }}" /> {% endfor %}
https://www.sylvaindurand.org/making-jekyll-multilingual/
But with proper Hugo syntax of course, is not possible to do that with right?