diff options
Diffstat (limited to 'templates/archives/src_books.html')
-rw-r--r-- | templates/archives/src_books.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/archives/src_books.html b/templates/archives/src_books.html new file mode 100644 index 0000000..f15d9ab --- /dev/null +++ b/templates/archives/src_books.html @@ -0,0 +1,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> → </li> + <li><a href="/src/" title="luxagraf:src" itemprop="url"><span itemprop="title"><code>src</code></span></a> → </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 %} |