Alphabetical sorting with headings


Hi all!

Is alphabetical ordering with headings possible—e.g. for a large tags overview?




Thank you!


If I’m understanding correctly, you could use GroupBy, then print the first letter of the Key



Also see: for how we’re going to improve the above in the next Hugo version.


Thank you!

I played a bit. Alphabetical ordering is no problem. But it seems quite tricky (for me) to get the first letter of each group of tags–and only if that group exists.

It would be great if there was an out of the box solution, bep.