{% if title %} Blog post - {{ title }} {% else %} Blog posts {% endif %} {% block navbar %} {% for post in navbaritems %}
  • {{ post.name }}
  • {% endfor %} {% endblock %} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for caterogy, message in messages %}
    {{ message }}
    {% endfor %} {% endif %} {% endwith %}
    {% block content %} {% endblock %}