dont show docs within tags

This commit is contained in:
madrilene 2024-05-27 10:08:19 +02:00
parent 5e7a65dddb
commit 9e17d95821

View file

@ -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();