blob: b9715f2f13a8e1adf7a45e99e22252a84f0c2bb2 (
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
|
{% extends 'base.html' %}
{% load typogrify_tags %}
{%block bodyid%}id="book-page"{%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><a href="/src/books/" title="luxagraf:src books" itemprop="url"><span itemprop="title">Books</span></a> </li>
</ul>
<main role="main" itemprop="mainEntity" itemscope itemtype="http://schema.org/Book">
<h1 class="book-title" itemprop="name">{{object.title|smartypants|widont|safe}}</h1>
<div class="book-cover-wrapper"><img src="{{object.image.url}}" alt="{{object.title}} cover" /></div>
<div class="meta-cover">
<dl class="book-metadata">
<dt>Published</dt>
<dd>{{object.pub_date|date:"F"}} <span>{{object.pub_date|date:"j, Y"}}</span></dd>
<dt>Last Updated</dt>
<dd>{{object.last_updated|date:"F"}} <span>{{object.last_updated|date:"j, Y"}}</span></dd>
<dt>Pages</dt>
<dd>{{object.pages}}</dd>
</dl>
</div>
{{paypal_form.render}}
<div class="highlights">
<h4>Learn Responsive Design:</h4>
<article class="h-entry hentry post--article book" itemscope itemType="http://schema.org/Article">
{{object.body_html|safe|amp|smartypants}}
{{paypal_form.render}}
</article>
</div>
</main>
{% endblock %}
|