{% extends "eventum_admin.html" %} {% import "eventum_macros.html" as macros %} {% block css %} {{ super() }} {% endblock %} {% block title %}Blog Posts{% endblock %} {% block pagetitle %}Blog Posts{% endblock %} {% block js %} {{ super() }} {% endblock %} {% block barright %} {% endblock %} {% set active_page="Blog" %} {% macro render_posts(posts) %} {% for post in posts %} {% endfor %}
Title Snippet Author Date

{{post.title}}

{{post.snippet(length=40, newlines=False, tags=False) | safe}}
{% endmacro%} {% block content %} {% if posts %} {{ render_posts(posts) }} {% else %}

No posts!

{% endif %} {% endblock %}