fix: filter article tags

pull/1/head
Nicolas Doby 2022-11-09 11:14:53 +01:00
parent 915bac6dab
commit 667aca6306
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ module.exports = function(eleventyConfig) {
});
eleventyConfig.addFilter("filterTagList", function filterTagList(tags) {
return (tags || []).filter(tag => ["all", "nav", "post", "posts"].indexOf(tag) === -1);
return (tags || []).filter(tag => ["all", "nav", "article", "articles"].indexOf(tag) === -1);
});
eleventyConfig.addFilter("readableAuthors", (authors) => {