summaryrefslogtreecommitdiff
path: root/design/templates/archives/books.html
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/archives/books.html')
-rw-r--r--design/templates/archives/books.html32
1 files changed, 16 insertions, 16 deletions
diff --git a/design/templates/archives/books.html b/design/templates/archives/books.html
index 1c139e6..59bac34 100644
--- a/design/templates/archives/books.html
+++ b/design/templates/archives/books.html
@@ -4,30 +4,30 @@
{% load pagination_tags %}
{% block pagetitle %} Books | luxagraf {% endblock %}
{% block metadescription %}Books I've read and thoughts on them. {% endblock %}
-{%block bodyid%}class="books" id="books-archive"{%endblock%}
+{%block bodyid%}class="archive" id="books-archive"{%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>Books</li>
</ul>
- <main role="main">{% autopaginate object_list 24 %}
+ <main>{% autopaginate object_list 24 %}
<h1 class="hide">Books</h1>
-<div class="book-list projects--intro">
- <p>I wear glasses because as a child I would stay up late, covers pulled over my head, reading by the dim light of a dying flashlight. At least that's what an eye doctor told me when I was younger. Probably a load of crap, but I still love reading and I still often do it by poor light far later in the night than is reasonable.</p>
- <p>I've always taken notes while reading, usually with a pen and paper, but sometimes as highlights in the Kindle. And of course since I have all this stuff in text files I thought might as well put it online. So here you have it, books I've read and things I've thought about them.</p>
-</div>
- <nav class="pagination">{% paginate %}
- </nav>
- <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">
+ <div class="intro">
+ <p>I wear glasses because as a child I would stay up late, covers pulled over my head, reading by the dim light of a dying flashlight. At least that's what an eye doctor told me when I was younger. Probably a load of crap, but I still love reading and I still often do it by poor light far later in the night than is reasonable.</p>
+ <p>I've always taken notes while reading, usually with a pen and paper, but sometimes as highlights in the Kindle. And of course since I have all this stuff in text files I thought might as well put it online. So here you have it, books I've read and things I've thought about them.</p>
+ </div>
+ <nav class="pagination">{% paginate %}
+ </nav>
+ <div class="archive-grid book-grid"> {% for object in object_list %}
+ <article class="archive-card" 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}} by {{object.author_name}}"/></a></div>{%endif%}
- <h2 itemprop="name"><a href="{{object.get_absolute_url}}">{{object.title|amp|smartypants|widont|safe}}</a></h2>
- <h4 itemprop="author">{{object.author_name}}</h4>
- <div itemprop="review" itemscope itemtype="http://schema.org/Review">
- {% if object.rating %}<span class="book-stars" itemprop="reviewRating">{% for i in object.ratings_range %}{% if i <= object.get_rating%}&#9733;{%else%}&#9734;{%endif%}{%endfor%}</span>{%endif%}
- <span class="hide" itemprop="author">Scott Gilbertson</span>
- <meta itemprop="datePublished" content="{{object.read_date|date:'F Y'}}"><span class="read-in">Read in: {{object.read_date|date:"F Y"}}</span></div>
+ <h2 class="post-title" itemprop="name"><a href="{{object.get_absolute_url}}">{{object.title|amp|smartypants|widont|safe}}</a></h2>
+ <h4 class="author" itemprop="author">{{object.author_name}}</h4>
+ <div class="post-summary" itemprop="review" itemscope itemtype="http://schema.org/Review">
+ {% if object.rating %}<span class="book-stars" itemprop="reviewRating">{% for i in object.ratings_range %}{% if i <= object.get_rating%}&#9733;{%else%}&#9734;{%endif%}{%endfor%}</span>{%endif%}
+ <span class="hide" itemprop="author">Scott Gilbertson</span>
+ <meta itemprop="datePublished" content="{{object.read_date|date:'F Y'}}"><span class="read-in">Read in: {{object.read_date|date:"F Y"}}</span></div>
</article>
{% endfor %}</div>
<nav class="pagination">{% paginate %}