summaryrefslogtreecommitdiff
path: root/templates/archives/photos.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/archives/photos.html')
-rw-r--r--templates/archives/photos.html19
1 files changed, 16 insertions, 3 deletions
diff --git a/templates/archives/photos.html b/templates/archives/photos.html
index b2ef4f7..e4dfe5f 100644
--- a/templates/archives/photos.html
+++ b/templates/archives/photos.html
@@ -11,14 +11,27 @@
{% block primary %}
<article>
<h1>{% if region %}Photographs from {{region.name|title|smartypants|safe}}{%else%}Photographs from Around the World {%endif%}</h1>
+
+ <ul id="breadcrumbs">
+ <li><a href="/" title="luxagraf homepage">Home</a> &rarr;</li>
+ {% if region %}{%ifequal region.name 'United States'%} <li><a href="/photos/" title="See all Photos">Photos</a> &rarr;</li>
+ <li>the United States</li>{%else%}<li><a href="/photos/" title="See all Photos">Photos</a> &rarr;</li> <li>{{region.name|title|smartypants|safe}}{%endifequal%}{%else%}Photos </li>{%endif%}
+ </ul>
+
<ul id="photo-galleries">{% autopaginate object_list 18 %} {% for object in object_list %}
<li>
- <a href="{{object.get_absolute_url}}"><img src="{{object.get_main_image}}" alt="{{ object.set_title }}"/></a>
- <h3>{{object.set_title}}</h3>
- <p>{{object.set_desc|truncatewords:30|smartypants|safe}}</p>
+ <div class="figure">
+ <a href="{{object.get_absolute_url}}"><img src="{{object.get_main_image}}" alt="{{ object.set_title }}"/></a>
+ </div>
+ <span class="legend">
+ <h3>{{object.set_title}}</h3>
+ <p>{{object.set_desc|truncatewords:30|smartypants|safe}}</p>
+ </span>
</li>{% endfor %}
</ul>
+
+
<section id="pagination">
<ul>{% paginate %}
</ul>