summaryrefslogtreecommitdiff
path: root/design/templates/archives/notes.html
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/archives/notes.html')
-rw-r--r--design/templates/archives/notes.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/design/templates/archives/notes.html b/design/templates/archives/notes.html
index 998546f..8dc168e 100644
--- a/design/templates/archives/notes.html
+++ b/design/templates/archives/notes.html
@@ -1,6 +1,7 @@
{% extends 'base.html' %}
{% load typogrify_tags %}
{% load html5_datetime %}
+{% load pagination_tags %}
{% block pagetitle %} Field Notes | luxagraf {% endblock %}
{% block metadescription %} Rough notes and sketches from the field {% endblock %}
{%block bodyid%}class="notes" id="notes-archive"{%endblock%}
@@ -13,7 +14,7 @@
<main role="main">
<h1>Field Notes</h1>
<h4 class="subhead divide-after">Quick notes and images from the road</h4>
- {% for object in object_list %}
+ {% autopaginate object_list 2 %}{% for object in object_list %}
<article class="h-entry">
<h2 class="p-name note--title hide">{{object.title|safe|amp|smartypants}}</h2>
<h5 class="note--date-hed"><a class="u-url" href="{{object.get_absolute_url}}" rel="bookmark"><time class="dt-published" datetime="{{object.pub_date|html5_datetime}}">{{object.pub_date|date:"F j, Y"}}</time></a></h5>
@@ -56,6 +57,9 @@
</article>
{% endfor %}
</main>
+ <nav class="pagination">
+ {% paginate %}
+ </nav>
{% endblock %}