blob: 7e5e1ab477ed20c6ea743c4c2e39605e118a1df6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{% extends 'base.html' %}
{% load typogrify %}
{% load pagination_tags %}
{% block pagetitle %}Luxagraf | {% if region %}Photo Galleries: Images from {{region.name|title|smartypants|safe}}{%else%}Photo Galleries: Images from Around the World {%endif%} {{page}}{% endblock %}
{% block metadescription %}{% if region %}Photo Galleries from {{region.name|title|smartypants|safe}}{%else%}Photo Galleries: Images from Around the World {%endif%}{% endblock %}
{%block bodyid%}id="photo-archive"{%endblock%}
{% block primary %}<section id="page-header">
<h1 class="hide">{% if region %}Photographs from {{region.name|title|smartypants|safe}}{%else%}Photographs from Around the World {%endif%}</h1>
<nav id="page-nav">
<ul id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> →</li>
{% if region %}{%if region.name == 'United States'%} <li><a href="/photos/" title="See all Photos" itemprop="url"><span itemprop="title">Photos</span></a> →</li>
<li>the United States</li>{%else%}<li><a href="/photos/" title="See all Photos" itemprop="url"><span itemprop="title">Photos</span></a> →</li> <li>{{region.name|title|smartypants|safe}}{%endif%}{%else%}<li>Photos </li>{%endif%}
</ul>
</nav>
</section>
<ul id="photo-galleries">{% autopaginate object_list 18 %} {% for object in object_list %}
<li>
<div class="figure">
<a href="{{object.get_absolute_url}}"><img src="{{object.get_main_image}}" alt="{{ object.set_title }}" width="291" height="350" /></a>
<div class="legend">
<h3>{{object.set_title}}</h3>
<p>{{object.set_desc|truncatewords:30|smartypants|safe}}</p>
</div>
</div>
</li>{% endfor %}
</ul>
<nav id="pagination">{% paginate %}
</nav>
{% endblock %}
|