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