{% extends 'base.html' %}

{% block content %}
  <h2>Articles</h2>
  <ul>
    {% for article in articles %}
      <li><a href="{% url 'article_detail' pk=article.pk %}">{{ article.title }}</a></li>
    {% endfor %}
  </ul>
  <a href="{% url 'article_create' %}">New Article</a>
{% endblock %}
