{% extends "front/base.html" %}

{% block content %}
<h1>Posts</h1>
<ul>
{% for p in posts %}
<li><a href="{% url "view_post" post_id=p.id %}">{{ p.title }}</a></li>
{% endfor %}
</ul>
{% endblock %}
