-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbooks.html
More file actions
23 lines (21 loc) · 717 Bytes
/
books.html
File metadata and controls
23 lines (21 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
layout: default
---
<div class="content">
<p class="lead">Here are some books I've enjoyed. If you like, you can <a href="https://twitter.com/michaeldowse">recommend a book to me</a>.</p>
{% assign ordered_books = site.books | sort:"path" | reverse %}
{% for book in ordered_books %}
<div class="book">
<img src="{{ book.cover }}" />
<div class="summary">
<h3>{{ book.title }}</h3>
<p class="author post-meta">{{ book.author }}</p>
{{ book.content }}
{% if book.get_link %}
<p><a href="{{ book.get_link }}" target="_blank"><strong>{{ book.get_text }} →</strong></a></p>
{% endif %}
</div>
<br>
</div>
{% endfor %}
</div>