Fix tags in posts, and image sizing
This commit is contained in:
1 parent
4b52993d7b
commit
c8c98c7ef9
3 files changed
+10
-2
No files matched your search
@@ -4,4 +4,10 @@ module.exports = (eleventyConfig) => {
|
||||
return item.data.tags.includes(value);
|
||||
})
|
||||
});
|
||||
|
||||
eleventyConfig.addFilter('except', (collection, value) => {
|
||||
return collection.filter((item) => {
|
||||
return item !== value;
|
||||
})
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user