{% extends "base.html" %} {% block content %} {% if post_list %} {% for post in post_list %}

{{ post.title }}

BY {{ post.author.first_name|upper }} {{ post.author.last_name|upper }} | PUBLISHED {{ post.publish|date|upper }}.

{% if post.photo %}

{% endif %}

{{ post.body }}

{% endfor %} {% endif %} {% if is_paginated %}

{% if has_next %} Older {% endif %} {% if has_next and has_previous %} | {% endif %} {% if has_previous %} Newer {% endif %}

{% endif %} {% endblock %}