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 %} |
Luigi Santivetti | d93cb0f | 2020-02-17 22:21:28 +0000 | [diff] [blame^] | 6 | {% for article in articles_page.object_list|sort(attribute='no') %} |
Giulio Fidente | 6e18a6a | 2013-03-22 23:29:41 +0100 | [diff] [blame] | 7 | <article> |
Giulio Fidente | 0bc1f0e | 2013-11-05 16:23:23 +0100 | [diff] [blame] | 8 | <div class="article_title"> |
Luigi Santivetti | d93cb0f | 2020-02-17 22:21:28 +0000 | [diff] [blame^] | 9 | <h3><a href="{{ BLOGURL }}/{{ article.url }}">{{ article.title }}</a></h3> |
Giulio Fidente | 6e18a6a | 2013-03-22 23:29:41 +0100 | [diff] [blame] | 10 | {{ article.summary }} |
11 | </div> | ||||
12 | </article> | ||||
13 | {% if not loop.last %} | ||||
14 | <hr /> | ||||
15 | {% endif %} | ||||
16 | {% endfor %} | ||||
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 17 | {% endblock %} |
18 | |||||
Luigi Santivetti | d93cb0f | 2020-02-17 22:21:28 +0000 | [diff] [blame^] | 19 | {% if BLOCK_FOOTER %} |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 20 | {% block footer %} |
pR0Ps | 721949b | 2013-12-11 13:09:22 -0500 | [diff] [blame] | 21 | <footer> |
Giulio Fidente | 180d172 | 2013-06-14 09:29:38 +0200 | [diff] [blame] | 22 | {% include "modules/pagination.html" %} |
pR0Ps | 721949b | 2013-12-11 13:09:22 -0500 | [diff] [blame] | 23 | </footer> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 24 | {% endblock %} |
Luigi Santivetti | d93cb0f | 2020-02-17 22:21:28 +0000 | [diff] [blame^] | 25 | {% endif %} |