{% with msgs = get_flashed_messages() %} {% if msgs %}
{% for msg in msgs %}

{{ msg }}

{% endfor %}
{% endif %} {% endwith %} {% if tags %}
{% for tag in tags %}
{{ tag }} close
{% endfor %}
{% endif %} {% if jokes|length > perpage %}
{% endif %}
add