From 9e17d9582151e5e1026e24539fd2338cc8d5a29e Mon Sep 17 00:00:00 2001 From: madrilene Date: Mon, 27 May 2024 10:08:19 +0200 Subject: [PATCH] dont show docs within tags --- config/collections/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/collections/index.js b/config/collections/index.js index 1c9fa73..ddb3764 100644 --- a/config/collections/index.js +++ b/config/collections/index.js @@ -15,7 +15,7 @@ const tagList = collection => { collection.getAll().forEach(item => { if (!item.data.tags) return; item.data.tags - .filter(tag => !['posts', 'all'].includes(tag)) + .filter(tag => !['posts', 'docs', 'all'].includes(tag)) .forEach(tag => tagsSet.add(tag)); }); return Array.from(tagsSet).sort();