-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.json
34 lines (34 loc) · 1.53 KB
/
index.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
{
"version": "https://jsonfeed.org/version/1",
"title": "{{title}}",
"home_page_url": "{{{blogURL}}}",
"feed_url": "{{{blogURL}}}/archive/index.json",
"author": {
"name" : "Amit Gawande",
"url" : "https://www.amitgawande.com"
},
"items": [
{{#allEntries}}
{
"title": "{{title}}{{#metadata.in-reply-to}}{{#title}} →{{/title}}{{/metadata.in-reply-to}}",
"id": "{{{blogURL}}}{{{url}}}",
"url": "{{{blogURL}}}{{{url}}}",
"content_html": "{{#encodeJSON}}{{#metadata.in-reply-to}}{{^title}}
➥ In reply to <a href=\"{{metadata.in-reply-to}}\">
{{#metadata.in-reply-to-title}}{{metadata.in-reply-to-title}}{{/metadata.in-reply-to-title}}
{{^metadata.in-reply-to-title}}a post{{/metadata.in-reply-to-title}}
</a>
{{/title}}{{/metadata.in-reply-to}}
{{#metadata.like-of}}★ Liked <a href=\"{{metadata.like-of}}\">
{{#metadata.like-of-title}}{{metadata.like-of-title}}{{/metadata.like-of-title}}
{{^metadata.like-of-title}}{{metadata.like-of}}{{/metadata.like-of-title}}
</a>{{/metadata.like-of}}
{{{body}}}
{{#metadata.photo}}<p><img src={{metadata.photo}}
{{#metadata.photo_alt}}alt=\"{{metadata.photo_alt}}\"{{/metadata.photo_alt}}></p>{{/metadata.photo}}
{{/encodeJSON}}",
"date_published": "{{#formatDate}}YYYY-MM-DDTHH:mm:ssZ{{/formatDate}}"
}{{^last}},{{/last}}
{{/allEntries}}
]
}