diff --git a/config/filters/index.js b/config/filters/index.js index c43375c..a83ab01 100644 --- a/config/filters/index.js +++ b/config/filters/index.js @@ -29,14 +29,6 @@ export const organizeByDate = (collection) => { return collectionByDate; }; -const allTags = (collection, ignore = []) => { - const tagSet = new Set(collection.flatMap((item) => item.data.tags)); - - ignore.forEach((tag) => tagSet.delete(tag)); - - return [...tagSet]; -}; - export const allTagCounts = (collection, ignore = ["post"]) => { if (!collection.length) { throw new Error("Invalid collection, no items");