{% extends "layout.html" %} {% block body %}

All Items

{%- endfor %}
# Title Date Done? {%- for todo in todos %}
{{ todo.id }} {{ todo.title }} {{ todo.pub_date.strftime('%Y-%m-%d %H:%M') }}
{{ todo.text }}

New item

{% endblock %}