hugo-to-gemini/internal
Timur Demin b4ae1981d6
Implement sort / sortRev in templates
This adds generic sort / sortRev functions for use in gmnhg templates
which use sort.Sort to sort anything that implements sort.Interface
(which includes lists of posts).

The existing sortPosts function that used to sort posts in reverse order
becomes an alias to sortRev for backwards compatibility.
2021-08-22 17:52:19 +03:00
..
gemini Print delimiters around unsupported formatted elements 2021-08-22 14:31:39 +03:00
gmnhg Implement sort / sortRev in templates 2021-08-22 17:52:19 +03:00