Skip to content
Discussion options

You must be logged in to vote

Good news, bad news... You should be able to dynamically set tags via eleventyComputed, but collections will not automatically be created. See #1225 (and related issues) for some more info.

But if you know the dynamically set tags, you might be able manually create the collections in your .eleventy.js config file using a for loop.

TIP: You might also be able to use pagination's alias instead of using pagination.items[0]: https://www.11ty.dev/docs/pagination/#aliasing-to-a-different-variable

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@pdehaan
Comment options

pdehaan Jan 17, 2023
Collaborator

@danielLee0721
Comment options

@pdehaan
Comment options

pdehaan Jan 18, 2023
Collaborator

@danielLee0721
Comment options

Answer selected by danielLee0721
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants