We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Update the core helper js to include ifor and ifand statements.
Example of ifor use: Only render the header section of an article / block / component when either the displayTitle, body, or instruction is present.
{{#any displayTitle body instruction}} <div class="component__header {{_component}}__header"> </div> {{/any}}
Example of ifand use: Only render the header section of an article / block / component when the displayTitle, body, and instruction are all present.
{{#all displayTitle body instruction}} <div class="component__header {{_component}}__header"> </div> {{/all}}
Example of ifand ifor use:
{{#all (any displayTitle title) body instruction}} <div class="component__header {{_component}}__header"> </div> {{/all}}
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Update the core helper js to include ifor and ifand statements.
Example of ifor use:
Only render the header section of an article / block / component when either the displayTitle, body, or instruction is present.
Example of ifand use:
Only render the header section of an article / block / component when the displayTitle, body, and instruction are all present.
Example of ifand ifor use:
The text was updated successfully, but these errors were encountered: