arborium-jinja2 2.4.3

Jinja2 grammar for arborium (tree-sitter bindings)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% extends "base.html" %}

{% block title %}{{ page_title | default("Home") }}{% endblock %}

{% block content %}
<ul>
{% for user in users %}
    <li class="{{ loop.cycle('odd', 'even') }}">
        {{ user.name }} - {{ user.email }}
        {% if user.admin %}(Admin){% endif %}
    </li>
{% else %}
    <li>No users found</li>
{% endfor %}
</ul>
{% endblock %}