Sort tags alphabetically for consistent ordering

This commit is contained in:
Nathan McCarty 2025-02-07 06:02:53 -05:00
parent 946ce908e9
commit 88e355730b
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ sub post-tag(Str:D $tag) is export {
}
sub post-tags(Post:D $post) is export {
my @tags = $post.tags;
my @tags = $post.tags.sort;
if @tags {
@tags.=map(*.&post-tag);
div :class<post-tags>, [