Fix tags in posts, and image sizing

This commit is contained in:
Lewis Dale committed 2023-12-30 16:36:45 +00:00
1 parent 4b52993d7b
commit c8c98c7ef9
3 files changed
+10 -2

No files matched your search

+6
View File
@@ -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;
})
});
}