{% extends 'base.html' %}
{% load helpers %}

{% block content %}
{% for post in post_list %}
    <a href="{% url 'post-detail' post.pk %}">
        <h2>{{ post.title }}</h2>
    </a>
{% empty %}
    <p>No posts yet.</p>    
{% endfor %}
{% endblock %}
