{% extends "base.html" %} {% block content %} {%- with messages = get_flashed_messages(with_categories=True) %} {%- if messages %} {%- for category, message in messages %}
{{ message }}
{%- endfor %} {%- endif %} {%- endwith %} {%- for fname, title, date in files %}
{{ date.strftime('%m/%d') }} {{ title or 'Untitled' }}
{%- endfor %} {%- endblock %}