{% extends 'base.html' %} {% block header %}

{% block title%}Posts{% endblock %}

{% if not current_user.is_anonymous %} New {% endif %} {% endblock %} {% block content %} {% for post in posts %} {% include "blog/_post.html"%} {% if not loop.last %}
{% endif %} {% endfor %} {% endblock %}