-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeed.json
More file actions
33 lines (26 loc) · 977 Bytes
/
feed.json
File metadata and controls
33 lines (26 loc) · 977 Bytes
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
---
sitemap: false
---
{
"version": "https://island.postgresql.tw/version/1",
"title": "{{ site.title }}",
"home_page_url": "{{ site.url }}/",
"feed_url": "{{ site.url }}/feed.json",
"author": {
"name": "{{ site.author }}"
},
"items": [
{% for post in site.posts limit:20 %}
{
"id": "{{ post.identifier }}",
"title": "{{ post.title | cdata_escape }}",
"content_html": {{ post.content | jsonify }},
"url": "{{ site.url }}/{{ post.url }}",
"summary": "{{ post.excerpt }}",
{% if post.link %}"external_url": "{{ post.link }}",{% endif %}
{% if post.image %}"image": "{{ post.image }}",{% endif %}
"tags": ["{{ post.tags}}"],
"date_published": "{{ post.date | date_to_xmlschema }}"
}{% if forloop.last == false %},{% else %}{% endif %}{% endfor %}
]
}