Store all tags under the all
key
This commit is contained in:
parent
2b41b07860
commit
2d0e9b9f67
|
@ -27,6 +27,11 @@ module.exports = {
|
|||
},
|
||||
{}
|
||||
);
|
||||
// Create a single tag object from the transformed tag data
|
||||
metaData.all = Object.keys(metaData.transformed).reduce(
|
||||
(all, key) => _.assign(all, metaData.transformed[key]),
|
||||
{}
|
||||
);
|
||||
return metaData;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue