20 lines
403 B
HTML
20 lines
403 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Another Example{% endblock %}
|
|
|
|
{% block content %}
|
|
<h2>Example</h2>
|
|
<p>
|
|
{{ data.message }}
|
|
</p>
|
|
|
|
<h3>Items</h3>
|
|
<p>
|
|
there are {{ data.get('items', [])|length }} items in the list
|
|
</p>
|
|
<ul>
|
|
{% for item in data.get('items', []) %}
|
|
<li>{{ item }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock %}
|