-
Notifications
You must be signed in to change notification settings - Fork 0
/
feed.json
30 lines (30 loc) · 958 Bytes
/
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
---
---
{
"version": "https://jsonfeed.org/version/1",
"title": "{{ site.title }}",
"home_page_url": "{{ site.url }}",
"feed_url": "{{ site.url }}/feed.json",
"description": "",
"author": {
"name": "Tom Arra",
"url": "http://tomarra.com"
},
"items": [{% for post in site.posts %}
{
"id": "{{ site.url}}{{ post.url }}",
"url": "{{ site.url }}{{ post.url }}",{% if post.link %}
"external_url": "{{ post.link }}",{% endif %}{% if post.layout != "micro" %}
"title": {{ post.title | jsonify }},{% endif %}
"content_html": {{ post.content | jsonify }},
"date_published": "{{ post.date | date: "%FT%H:%M:%S%z" }}"{% if post.enclosure %},
"attachments": [
{
"url": "{{ post.enclosure }}",
"mime_type": "{{ post.encType }}",
"size_in_bytes": "{{ post.encLength }}"
}
]{% endif %}
}{% unless forloop.last %},{% endunless %}{% endfor %}
]
}