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

Could you please add working examples on loops #3

Open
bastman opened this issue Nov 23, 2020 · 0 comments
Open

Could you please add working examples on loops #3

bastman opened this issue Nov 23, 2020 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@bastman
Copy link

bastman commented Nov 23, 2020

Hi, I'm currently having issues getting the for-loop example to work.

Could you please help me with this?

Thanks a lot ...

  {%- for person in ['Bob', 'Joe', 'Jen', 'Amy'] %}
  * {{ person }} will come to the party!
  {%- endfor %}


  {% for i in range(11) %}
  { { i } }
  {% endfor %}

results in: Failure! Could not parse template.

@philproctor philproctor added the documentation Improvements or additions to documentation label Jan 26, 2021
@philproctor philproctor self-assigned this Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants