class Crinja::Tag::Do
- Crinja::Tag::Do
- Crinja::Tag
- Reference
- Object
Overview
The do
tag works exactly like the regular variable expression ({{ ... }}
) except it doesn’t print anything.
This can be used to modify lists:
{% do navigation.append('a string') %}
See Jinja2 Template Documentation for details.