Skip to content

Commit

Permalink
book: fix typo in Template Syntax page
Browse files Browse the repository at this point in the history
The semicolon in `{% let entity = entity; %}` causes the template compilation to fail, so this commit removes it.
  • Loading branch information
m4tx authored and djc committed Aug 14, 2024
1 parent 5a83872 commit 15c7ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/template_syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,6 @@ that `entity` was a field of the current type unlike usual. You can go
around this limitation by binding your field's value into a variable:

```jinja
{% let entity = entity; %}
{% let entity = entity %}
{{ test_macro!(entity) }}
```

0 comments on commit 15c7ba6

Please sign in to comment.