summaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-11-08 19:54:58 -0500
committerluxagraf <sng@luxagraf.net>2015-11-08 19:54:58 -0500
commit76c0bf31bf4a21fcf18df8579dbb6f660c4d7437 (patch)
tree1088521913633ee867c62614b70ca0955302592e /design
parenta1122250e52d8773fb672ac60a458e4b7d6570fb (diff)
Ported Bird app to CBV and modern URL structure. Also added base class
to utils module to handle my pagination scheme so I can reuse that bit of code
Diffstat (limited to 'design')
-rw-r--r--design/templates/archives/birds.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/design/templates/archives/birds.html b/design/templates/archives/birds.html
index 17cdb79..1a02a7c 100644
--- a/design/templates/archives/birds.html
+++ b/design/templates/archives/birds.html
@@ -13,7 +13,7 @@
<li itemprop="title">the United States</li>{%else%}<li><a href="/jrnl/" title="See all Journal Entries" itemprop="url"><span>Birds</span></a> &rarr;</li>
<li>{{region.name|title|smartypants|safe}}</li>{%endif%}{%else%}<li>Journal</li>{%endif%}
</ul>
- <main role="main" class="archive">
+ <main role="main" class="archive">{% autopaginate object_list 40 %}
<h1 class="hide">Birds seen {% if region %}in {%if region.name == 'United States'%}the United States{%else%}{{region.name|title|smartypants|safe}}{%endif%}{%else%} by {{user}}{%endif%}</h1> {% for object in object_list %}
<article class="{% cycle 'odd' 'even' %} {% cycle 'first' 'second' 'third' %}">
<div class="post--image">