From eb2910067945306674b4d66838c97b2720a8759f Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sun, 5 Nov 2023 20:09:03 -0800 Subject: [PATCH] chore: filter unnecessary tag --- src/_data/links.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_data/links.js b/src/_data/links.js index f2ab993e..47859d20 100644 --- a/src/_data/links.js +++ b/src/_data/links.js @@ -12,7 +12,7 @@ module.exports = async function () { return { title: link['description'], url: link['href'], - tags: [...new Set(link['tags'].split(' '))], + tags: [...new Set(link['tags'].split(' ').filter((tag) => tag.toLowerCase() !== 'share'))], date: link['time'], description: link['extended'], }