summaryrefslogtreecommitdiff
path: root/design/templates/archives/src_books.html
blob: f15d9ab49ed672452ffb43954f97f730ab6d9840 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{% extends 'src_base.html' %}
{% load typogrify_tags %}
{%block bodyid%}id="book-page"{%endblock%}								
{%block metadescription%}Book Store | luxagraf:src{%endblock%}			
{% block primary %}
    <ul class="bl" id="breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
        <li><a href="/" title="luxagraf homepage" itemprop="url"><span itemprop="title">Home</span></a> &rarr; </li>
        <li><a href="/src/" title="luxagraf:src" itemprop="url"><span itemprop="title"><code>src</code></span></a> &rarr; </li>
        <li>Books</li>
    </ul>
        <main role="main">
        <h1 class="hide">Books</h1>
       <div class="book-list"> {% for object in object_list %}
            <article class="book-list-item {% cycle "odd" "even" %} {% cycle "uno" "dos" "tres" %}" itemscope itemtype="http://schema.org/Book">
                {% if object.image %}<div class="img-wrapper"><a href="{{object.get_absolute_url}}"><img itemprop="image" src="{{object.get_image_url}}" alt="cover art for {{object.title}}"/></a></div>{%endif%}
            <h2 itemprop="name"><a href="{{object.get_absolute_url}}">{{object.title|amp|smartypants|widont|safe}}</a></h2>
        </article>
        {% endfor %}</div>
        </main>
{% endblock %}