1 {% extends "base.html" %}
2 {% block content_title %}{% endblock %}
6 {% for article in (articles_page.object_list if articles_page else articles) %}
8 <div class="article well">
9 <h1><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></h1>
10 {% include "article_infos.html" %}
11 <div class="summary">{{ article.summary }}
12 <a class="btn btn-small" href="{{ SITEURL }}/{{ article.url }}">more ...</a>
23 {% if articles_page and articles_paginator.num_pages > 1 %}
24 <div class="pagination">
26 {% if articles_page.has_previous() %}
27 {% set num = articles_page.previous_page_number() %}
28 <li class="prev"><a href="{{ SITEURL }}/{{ page_name }}{{ num if num > 1 else '' }}">← Previous</a></li>
30 <li class="prev disabled"><a href="#">← Previous</a></li>
32 {% for num in range( 1, 1 + articles_paginator.num_pages ) %}
33 <li class="{{ 'active' if num == articles_page.number else '' }}"><a href="{{ SITEURL }}/{{ page_name }}{{ num if num > 1 else '' }}">{{ num }}</a></li>
35 {% if articles_page.has_next() %}
36 <li class="next"><a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}">Next →</a></li>
38 <li class="next disabled"><a href="#">→ Next</a></li>
45 <section id="content" class="body">
47 <ul class="nav nav-list">
48 {% for page in pages %}
49 <li><div><i class="icon-external-link"></i><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></div></li>
58 {% endblock content %}