This repository has been archived by the owner on Mar 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
/
feed.json
41 lines (40 loc) · 1.48 KB
/
feed.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
---
layout: null
---
{
"version": "https://jsonfeed.org/version/1",
"title": "{{ site.title }}",
"home_page_url": "{{ site.url }}",
"feed_url": "{{ site.url }}/feed.json",
"description": "{{ site.description }}",
"icon": "{{ site.url }}{{ site.logo }}",
"favicon": "{{ site.url }}/favicon.ico",
"expired": false,
"author": {
"name": "{{ site.title }}",
"url": "{{ site.url }}"
},
"items": [
{% for post in site.posts %}
{
"id": "{{ site.url }}{{ post.id }}",
"url": "{{ site.url }}{{ post.url }}",
"title": {{ post.title | jsonify }},
"date_published": "{{ post.date | date_to_xmlschema }}",
{% if post.date-updated %}
"date_modified": "{{ post.date-updated | date_to_xmlschema }}",
{% else %}
"date_modified": "{{ post.date | date_to_xmlschema }}",
{% endif %}
"author": {
"name": "{{ site.data.authors[post.author].name }}",
"url": "https://twitter.com/{{ site.data.authors[post.author].twitter }}",
"avatar": "https://github.com/{{ site.data.authors[post.author].github }}.png?size=100",
"twitter": "{{ site.data.authors[post.author].twitter }}"
},
"summary": {{ post.excerpt | jsonify }},
"content_html": {{ post.content | jsonify }}
}{% if forloop.last == false %},{% endif %}
{% endfor %}
]
}