Update getTagList.js

master
Mathias Bynens 2018-09-13 13:12:49 +02:00 committed by GitHub
parent 619538df79
commit 0012d51d9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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