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
Add basic if/else logic in template placeholders #23
Comments
Instead of use the colon {{data.key text to use if data.key is defined and non-empty}} |
Since we are going to try to support Mustache syntax than the above should be valid as well as:
This will likely be under some option where we can define the opening and closing "braces" to include the data variable name. |
Closed via #61 |
Right now we simply search for {{data.varname}} and replace with defined. Would be nice to have something like {{data.varname:replace with this text if varname is defined}}.
Than we could do something like:
Kind of useless right now but is required for some advanced functionality defined in #22
The text was updated successfully, but these errors were encountered: