forked from tomcritchlow/tomcritchlow.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
library.json
24 lines (23 loc) · 800 Bytes
/
library.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
---
{% assign bookshelf = site.pages | where_exp:"item", "item.path contains 'books-read'" | first %}
{
"name": "Tom's Library",
"url": "https://tomcritchlow.com/wiki/books/books-read",
"bio": "A running list of books I've read...",
"lists":[
{
"name": "Books Read",
"url": "https://tomcritchlow.com/wiki/books/books-read/",
"books":
[{% for book in bookshelf.books %}{
"title": {{book.title | jsonify}},
"id": {{book.id | jsonify}},
"author": {{ book.author | jsonify}},
"link": {{ book.link | jsonify}},
"image": {{ book.image | jsonify}},
"date_finished": {{ book.date_finished | jsonify}},
"notes": {{ book.notes | jsonify}}
}{% unless forloop.last %},{% endunless %}{% endfor %}]
}]
}