-
Hi, I am trying to add two customer collections like this. eleventyConfig.addCollection('posts', require('./src/_11ty/getAllPostsCollection'));
eleventyConfig.addCollection('tagList', require('./src/_11ty/getTagList')); Here tagList function depends on posts collection but tagList collection is getting processed first. Is there any way to ensure posts collection gets processed first? |
Beta Was this translation helpful? Give feedback.
Answered by
pdehaan
Apr 23, 2022
Replies: 1 comment 4 replies
-
I don't think there is a way to guarantee ordering. But we might be able to come up with a solution/workaround if you can post the contents of the the |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
JaydeepGo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't think there is a way to guarantee ordering. But we might be able to come up with a solution/workaround if you can post the contents of the the
./src/_11ty/getAllPostsCollection.js
and./src/_11ty/getTagList.js
files.