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