Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Sort lists of subcategories by key when generating the index page
  • Loading branch information
Paul Cochrane committed Aug 28, 2015
1 parent 133f103 commit 6ffeb8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Pod/Htmlify.pm6
Expand Up @@ -111,7 +111,7 @@ class Website is export {
<ul>
EOT

for $category.subcategories.categories-list -> $subcategory {
for $category.subcategories.categories-list.sort(*.key) -> $subcategory {
my $subcat-title = $subcategory.title;
my $subcat-key = $subcategory.key;
$category-index-html ~= qq:to/EOT/;
Expand Down

0 comments on commit 6ffeb8a

Please sign in to comment.