Skip to content
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

getCollectionItemIndex Filter #2676

Closed
zachleat opened this issue Dec 6, 2022 · 2 comments
Closed

getCollectionItemIndex Filter #2676

zachleat opened this issue Dec 6, 2022 · 2 comments

Comments

@zachleat
Copy link
Member

zachleat commented Dec 6, 2022

Like getCollectionItem but returns the numeric index of the entry in the collection rather than the collection item.

getCollectionItem: https://www.11ty.dev/docs/filters/collection-items/#getcollectionitem

@zachleat zachleat added this to the Eleventy 2.0.0 milestone Dec 6, 2022
@zachleat
Copy link
Member Author

zachleat commented Dec 6, 2022

Fixed by 7c935a4 will ship with 2.0.0-canary.19

@zachleat zachleat closed this as completed Dec 6, 2022
@zachleat zachleat changed the title getCollectionItemIndex getCollectionItemIndex Filter Dec 6, 2022
zachleat added a commit to 11ty/11ty-website that referenced this issue Dec 6, 2022
@zachleat
Copy link
Member Author

zachleat commented Dec 6, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant