forked from omgmog/omgmog.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeed.json
25 lines (25 loc) · 809 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
---
layout: none
---
{
"encoding": "UTF-8",
"version": "1.0",
"title": "{{ site.name }}",
"description": "{{ site.bio }}",
"link": "{{ site.baseurl }}",
"updated":"{% for post in site.posts limit:1 %}{{ post.date }}{% endfor %}",
"author": "{{ site.author.name }}",
"entry": [
{% for post in site.posts limit:10 %}
{
"id": "{{ post.id }}",
"published": "{{ post.date }}",
"title": "{{ post.title | strip_html | escape }}",
"summary": "{{ post.content | split:'<!-- more -->' | first | strip_html | escape | strip_newlines }}",
"link": "{{ site.baseurl }}{{ post.url }}",
"author": "{{ site.author.name }}"
}
{% if forloop.last %}{% else %},{% endif %}
{% endfor %}
]
}