{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %}
{{ message }}
{% endfor %} {% endif %} {% endwith %}

Manage Tags and Categories

Add Category

All Categories
    {% for slug, cat in categories.items() %}
  • {{ cat.name }} ({{ cat.post_count or 0 }}) {% if slug in unused_categories %}
    {% endif %}
  • {% endfor %}

Add Tag

All Tags
    {% for tag, tag_obj in tags.items() %}
  • {{ tag_obj.name or tag }} ({{ tag_obj.count or 0 }}) {% if tag in unused_tags %}
    {% endif %}
  • {% endfor %}