-
I am having difficulty generating more than one I am using
I want to also add a myLinks data object to the data cascade. When I make the code in
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I believe your second module.exports = {
eleventyComputed: {
myCopyrights: data => {
return data.copyrights.feed.entry;
},
myLinks: data => {
return data.links.feed.entry;
}
}
}; |
Beta Was this translation helpful? Give feedback.
I believe your second
module.exports
would overwrite your first object.Try something like: