summaryrefslogtreecommitdiff
path: root/design/templates/archives/photos.html
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/archives/photos.html')
-rw-r--r--design/templates/archives/photos.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/design/templates/archives/photos.html b/design/templates/archives/photos.html
index e8d5ea6..c8d3db5 100644
--- a/design/templates/archives/photos.html
+++ b/design/templates/archives/photos.html
@@ -13,20 +13,20 @@
{% if region %}{%if region.name == 'United States'%} <li><a href="/photos/" title="See all Photos" itemprop="url"><span itemprop="title">Photos</span></a> &rarr;</li>
<li>the United States</li>{%else%}<li><a href="/photos/" title="See all Photos" itemprop="url"><span itemprop="title">Photos</span></a> &rarr;</li> <li>{{region.name|title|smartypants|safe}}{%endif%}{%else%}<li>Photos </li>{%endif%}
</ul>
- <section>
+ <main role="main">
<h1 class="hide">{% if region %}Photographs from {{region.name|title|smartypants|safe}}{%else%}Photographs from Around the World {%endif%}</h1>
- <ul id="photo-galleries">{% autopaginate object_list 18 %} {% for object in object_list %}
- <li>
- <div class="figure">
- <a href="{{object.get_absolute_url}}" title="view images from {{ object.set_title }}"><img src="{{object.get_main_image}}" alt="{{ object.set_title }}" width="291" height="350" /></a>
- <div class="legend">
+ <ul id="photo-galleries" class="image-gallery--list">{% autopaginate object_list 24 %} {% for object in object_list %}
+ <li class="{% cycle 'first' 'second' 'third' 'fourth'%} {% cycle 'one' 'two' 'three'%}">
+ <figure class="image-gallery--figure">
+ <a href="{{object.get_absolute_url}}" title="view images from {{ object.set_title }}"><img src="{{object.get_main_image}}" alt="{{ object.set_title }}" /></a>
+ <figcaption class="image-gallery--legend">
<h1>{{object.set_title}}</h1>
<p>{{object.set_desc|truncatewords:30|smartypants|safe}}</p>
- </div>
- </div>
+ </figcaption>
+ </figure>
</li>{% endfor %}
</ul>
- </section>
- <div id="pagination">{% paginate %}
- </div>
+ </main>
+ <nav class="pagination">{% paginate %}
+ </nav>
{% endblock %}