-
-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need advice: is it possible to pass the filter value to a collection dynamically #296
Comments
Say you have a https://www.11ty.io/docs/collections/
Does that make sense? |
@andreapernici I have a suspicion you may be referring to more of a front-end issue. Who's "the user" in your case? If you're building a reusable module that works with Eleventy, then let's explore this further. Otherwise, I have a feeling you're facing a front-end issue (having become a little familiar with some of your other issues). If it is a front-end thing, then you could have Eleventy generate some |
I ended up stop using Collections for my needs as @jevets suggested. |
Thanks for your comment Zach. It helped me create a collections page that had a dynamic tag input based on the Front Matter in a page in each collection folder. Then I was able to print out all the posts from the files in those different collection folders. Eg: songs/songs.md
pictures/pictures.md
layouts/collections.njk
|
I'm trying to use the filter capabilities like the following
but I'd like to make it dynamic and allow the user to pass the tag value inside for example a shortcode.
Is there some documentation on how to do that?
The text was updated successfully, but these errors were encountered: