-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeed.json
More file actions
29 lines (29 loc) · 1.16 KB
/
feed.json
File metadata and controls
29 lines (29 loc) · 1.16 KB
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
---
layout: null
---
{
"version": "https://jsonfeed.org/version/1",
"title": "{{ site.title | xml_escape }}",
"description": {{ site.description | jsonify }},
"home_page_url": "{{ "/" | absolute_url }}",
"feed_url": "{{ "/feed.json" | absolute_url }}",
"author": {
"name" : {{site.name | jsonify}},
"url" : {{ site.twitterurl | jsonify }}
},
"icon": "https://quinnpollock.net/assets/images/apple_touch_logo.png",
"favicon" : "https://quinnpollock.net/assets/images/favicon-32x32.png",
"user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format.",
"items": [{% for post in site.posts limit:10 %}
{
"id": "{{ post.url | absolute_url }}",
"url": "{{ post.url | absolute_url }}",
"title": {{ post.title | strip_html | jsonify }},
"author": {
"name": {{ post.author | jsonify }}
},
"content_html": {{ post.content | jsonify }},
"date_published": "{{ post.date | date_to_xmlschema }}"
}{% unless forloop.last %},{% endunless %}{% endfor %}
]
}