Update getTagList.js
This commit is contained in:
parent
619538df79
commit
0012d51d9b
@ -7,7 +7,7 @@ module.exports = function(collection) {
|
||||
tags = [tags];
|
||||
}
|
||||
|
||||
tags.filter(function(item) {
|
||||
tags = tags.filter(function(item) {
|
||||
switch(item) {
|
||||
// this list should match the `filter` list in tags.njk
|
||||
case "all":
|
||||
@ -19,6 +19,7 @@ module.exports = function(collection) {
|
||||
|
||||
return true;
|
||||
});
|
||||
|
||||
tagSet.add(...tags);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user