fix: filter article tags

This commit is contained in:
2022-11-09 11:14:53 +01:00
parent 915bac6dab
commit 667aca6306

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) => {