Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 1 | {% extends "base.html" %} |
| 2 | {% block content %} |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame^] | 3 | <header> |
| 4 | <h3>Index</h3> |
| 5 | </header> |
| 6 | {% for article in articles_page.object_list %} |
| 7 | <article> |
| 8 | <h1 id="title"> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 9 | <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title }}">{{ article.title }}</a> |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame^] | 10 | </h1> |
| 11 | <div id="article_content"> |
| 12 | {{ article.summary }} |
| 13 | </div> |
| 14 | </article> |
| 15 | {% if not loop.last %} |
| 16 | <hr /> |
| 17 | {% endif %} |
| 18 | {% endfor %} |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 19 | <footer> |
| 20 | {% include "pagination.html" %} |
| 21 | </footer> |
| 22 | {% endblock %} |