aboutsummaryrefslogtreecommitdiff
path: root/templates/weblog.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/weblog.html')
-rw-r--r--templates/weblog.html34
1 files changed, 17 insertions, 17 deletions
diff --git a/templates/weblog.html b/templates/weblog.html
index 11c0d2a..a20f356 100644
--- a/templates/weblog.html
+++ b/templates/weblog.html
@@ -2,26 +2,26 @@
{% block content %}
<div class="posts-list">
{% for post in paginator.pages %}
- <div class="post-preview">
- <h2><a href="{{ post.permalink }}">{{ post.title }}</a></h2>
- {% if post.summary %}
- {{ post.summary | safe }}
- {% endif %}
- </div>
+ <div class="post-preview">
+ <h2><a href="{{ post.permalink }}">{{ post.title }}</a></h2>
+ {% if post.summary %}
+ {{ post.summary | safe }}
+ {% endif %}
+ </div>
{% endfor %}
</div>
{% if paginator %}
-{% if paginator.number_pagers > 1 %}
-<div class="paginator">
- {% if paginator.previous %}
- <a href="{{ paginator.first }}">First</a>
- <a href="{{ paginator.previous }}">Previous page: {{ paginator.current_index - 1 }}</a>
- {% endif %}
- {% if paginator.next %}
- <a href="{{ paginator.next }}">Next page: {{ paginator.current_index + 1 }}</a>
- <a href="{{ paginator.last }}">Last</a>
+ {% if paginator.number_pagers > 1 %}
+ <div class="paginator">
+ {% if paginator.previous %}
+ <a href="{{ paginator.first }}">First</a>
+ <a href="{{ paginator.previous }}">Previous page: {{ paginator.current_index - 1 }}</a>
+ {% endif %}
+ {% if paginator.next %}
+ <a href="{{ paginator.next }}">Next page: {{ paginator.current_index + 1 }}</a>
+ <a href="{{ paginator.last }}">Last</a>
+ {% endif %}
+ </div>
{% endif %}
-</div>
-{% endif %}
{% endif %}
{% endblock %}