fix: filter article tags
This commit is contained in:
@@ -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) => {
|
||||
|
Reference in New Issue
Block a user