blob: 7e1b7816c17f9d83b8cdff4f4c181192a067d76a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{% extends "base.html" %}
{% block body %}
{{ greeting(user) }}
{{ greeting('me') }}
{{ greeting('world') }}
<h2>Loop</h2>
{%- if list_items %}
<ul>
{%- for list_item in list_items %}
<li {{ "class='last'" if loop.last else ""}}>{{ list_item }}</li>
{%- endfor %}
</ul>
{%- endif %}
{% endblock body %}
|