summaryrefslogtreecommitdiff
path: root/design/templates
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates')
-rw-r--r--design/templates/details/book.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/design/templates/details/book.html b/design/templates/details/book.html
index e1d211a..c9e9089 100644
--- a/design/templates/details/book.html
+++ b/design/templates/details/book.html
@@ -38,8 +38,9 @@
<h4>Highlights:</h4>
{% for object in object.bookhighlight_set.all reversed %}
<article class="h-entry hentry post--article book" itemscope itemType="http://schema.org/Article">
- {{object.body_html|safe|amp|smartypants}}
- <p class="foot">page: {{object.page}} <small>kindle location: {{object.location|cut:"["|cut:"]"}}</small></p>
+ <a class="highlink" name="h{{forloop.counter}}-page-{{object.page}}" href="#h{{forloop.counter}}-page-{{object.page}}">&para;</a>
+ {{object.body_html|safe|amp|smartypants}}
+ <p class="foot">page: {{object.page}} {% if object.location %}<small>kindle location: {{object.location|cut:"["|cut:"]"}}</small>{%endif%}</p>
</article>
{% endfor %}
</div>