Skip to content
Discussion options

You must be logged in to vote

Not 100% sure I understand what you're asking for, but there is https://www.11ty.dev/docs/filters/#scoped-data-in-filters which recommends function (arr) {...} syntax versus arrow functions (arr) => {...} so you have some additional variables in this. scope.

But let me try and build a better example in a second and get back to you with some Nunjucks and LiquidJS and .11ty.js ideas (for other languages you're on your own).

Replies: 1 comment 2 replies

Comment options

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

pdehaan Mar 4, 2023
Collaborator

@mbforbes
Comment options

Answer selected by mbforbes
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