-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathlibrary.json
60 lines (59 loc) · 2.38 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
---
{% assign bookshelf = site.pages | where_exp:"item", "item.path contains 'books-read'" | first %}
{% assign bookshelf2 = site.pages | where_exp:"item", "item.path contains 'stories-about-consultants'" | first %}
{% assign bookshelf3 = site.pages | where_exp:"item", "item.path contains '7bks-maths-books'" | 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 %}]
},
{
"name": "Stories About Consultants",
"url": "https://tomcritchlow.com/wiki/books/stories-about-consultants/",
"books":
[{% for book in bookshelf2.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 %}]
},
{
"name": "My Favourite Maths Books",
"url": "https://tomcritchlow.com/wiki/books/7bks-maths-books/",
"books":
[{% for book in bookshelf3.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 %}]
}
],
"following":[
{"url": "https://www.dustinsenos.com/books/library.json"},
{"url": "https://benjamincongdon.me/books/index.json"},
{"url": "https://zylstra.org/opml/books/books.opml"}
]
}