Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 1 | {% extends "base.html" %} |
pR0Ps | 09af9c4 | 2013-12-06 04:51:29 -0500 | [diff] [blame] | 2 | |
pR0Ps | 6bf5227 | 2013-12-11 13:25:27 -0500 | [diff] [blame] | 3 | {% block title %}Blog | {{ SITENAME }}{% endblock %} |
4 | |||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 5 | {% block content %} |
Giulio Fidente | 6e18a6a | 2013-03-22 23:29:41 +0100 | [diff] [blame] | 6 | {% for article in articles_page.object_list %} |
7 | <article> | ||||
Giulio Fidente | 0bc1f0e | 2013-11-05 16:23:23 +0100 | [diff] [blame] | 8 | <div class="article_title"> |
pR0Ps | 395338a | 2013-12-05 15:06:54 -0500 | [diff] [blame] | 9 | <h1><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h1> |
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 10 | </div> |
Giulio Fidente | 0bc1f0e | 2013-11-05 16:23:23 +0100 | [diff] [blame] | 11 | <div class="article_text"> |
Giulio Fidente | 6e18a6a | 2013-03-22 23:29:41 +0100 | [diff] [blame] | 12 | {{ article.summary }} |
13 | </div> | ||||
14 | </article> | ||||
15 | {% if not loop.last %} | ||||
16 | <hr /> | ||||
17 | {% endif %} | ||||
18 | {% endfor %} | ||||
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 19 | {% endblock %} |
20 | |||||
21 | {% block footer %} | ||||
pR0Ps | 721949b | 2013-12-11 13:09:22 -0500 | [diff] [blame] | 22 | <footer> |
Giulio Fidente | 180d172 | 2013-06-14 09:29:38 +0200 | [diff] [blame] | 23 | {% include "modules/pagination.html" %} |
pR0Ps | 721949b | 2013-12-11 13:09:22 -0500 | [diff] [blame] | 24 | </footer> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 25 | {% endblock %} |