{% extends "base.html" %} {% block title %} Home {% endblock %} {% block content %} {% with messages = get_flashed_messages(with_categories=true) %} {% for category, msg in messages %} {% endfor %} {% endwith %}
{% for category, item_list in items.items() %}

{{ category|name_by_type }}

{% for item in item_list %} {{ item|name_by_type }} {% endfor %} {% endfor %}
{% endblock %}