dont show docs within tags
This commit is contained in:
parent
5e7a65dddb
commit
9e17d95821
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ const tagList = collection => {
|
||||||
collection.getAll().forEach(item => {
|
collection.getAll().forEach(item => {
|
||||||
if (!item.data.tags) return;
|
if (!item.data.tags) return;
|
||||||
item.data.tags
|
item.data.tags
|
||||||
.filter(tag => !['posts', 'all'].includes(tag))
|
.filter(tag => !['posts', 'docs', 'all'].includes(tag))
|
||||||
.forEach(tag => tagsSet.add(tag));
|
.forEach(tag => tagsSet.add(tag));
|
||||||
});
|
});
|
||||||
return Array.from(tagsSet).sort();
|
return Array.from(tagsSet).sort();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue