Skip to content

Commit

Permalink
Fix alltags mess
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbenque committed Dec 6, 2024
1 parent fcac67b commit cb5a56a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ module.exports = (function(eleventyConfig) {
item.data.tags.map( tag => tagsSet.add(tag))
}
});
const tagsList = Array.from(tagsSet).sort()
return tagsList;
const sortedSet = new Set(Array.from(tagsSet).sort());
return sortedSet;
});
// set nunjucks as markdown template engine
// could be useful for custom processing like mermaid
Expand Down

0 comments on commit cb5a56a

Please sign in to comment.