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

Add documentation for use of multiple conditions in if statement #1284

Closed
equivalentideas opened this issue Apr 21, 2020 · 0 comments · Fixed by #1285
Closed

Add documentation for use of multiple conditions in if statement #1284

equivalentideas opened this issue Apr 21, 2020 · 0 comments · Fixed by #1285

Comments

@equivalentideas
Copy link
Contributor

Hi there :)

There is no documentation for using multiple conditions in an if statement.

e.g.

{% if variable and variable2 %}
   Both are true
{% endif %}

There is a stackoverflow thread on this issue that demonstrates demand for this.

Take care

equivalentideas added a commit to equivalentideas/nunjucks that referenced this issue Apr 21, 2020
fdintino added a commit to equivalentideas/nunjucks that referenced this issue Jul 13, 2020
fdintino added a commit to equivalentideas/nunjucks that referenced this issue Jul 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant