index.html 311 B

1234567891011
  1. {% extends "base.html" %}
  2. {% block content %}
  3. {{ super() }}
  4. <h2>All articles</h2>
  5. {% for article in articles | sort(attribute='title') %}
  6. <li><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></li>
  7. {% endfor %}
  8. {% include 'pagination.html' %}
  9. {% endblock content %}