Update getTagList.js
This commit is contained in:
parent
619538df79
commit
0012d51d9b
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue