-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
Suggestion: valueIn helper #67
Comments
Love it! How about However, the assemble-docs repo isn't as easy as it could (will) be to add documentation, so I would be happy to add the docs for if you want, or if you want to contribute to that repo feel free to add it yourself. |
@Kerrick just wanted to offer some assistance, would love to see this merged in. |
@Kerrick ping, I can add this but wanted to check one more time to see if you want to do it |
Oh sure, I'll push it up to GH this evening. :-) |
👍 awesome thx |
How about an inverse of the {{inArray}} helper? Something that would work like the example docs below.
If there's enough interest in this I'd be glad to submit a pull request and make it so. If I do so, which section should it go into? (Collections?)
{{valueIn}}
Conditionally render a block if the value is in a specified collection.
Parameters: value
string|int
- One or more values to test against. (Required), [...]Data:
Template:
Renders to:
The text was updated successfully, but these errors were encountered: