summaryrefslogtreecommitdiff
path: root/templates/archives/src_books.html
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2021-11-06 09:42:47 -0400
committerlxf <sng@luxagraf.net>2021-11-06 09:42:47 -0400
commitd9f51299809bfb6b3ac589b7c42016d0ef240299 (patch)
treeaa5f945e82fdbf1b66aca82fe5122f6ff5a12eb9 /templates/archives/src_books.html
parentdde9914dbbc6cda18ba59024065727c8dc6bcdf4 (diff)
moved templates to top level directory
Diffstat (limited to 'templates/archives/src_books.html')
-rw-r--r--templates/archives/src_books.html20
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> &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 %}