Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (23 sloc) 994 Bytes
---
layout: null
---
{% capture base_tag %}<base href="{{ "" | absolute_url }}">{% endcapture %}{
"version": "https://jsonfeed.org/version/1",
"title": {{ site.title | jsonify }},
"home_page_url": {{ "" | absolute_url | jsonify }},
"feed_url": {{ "/feed.json" | absolute_url | jsonify }},
"description": {{ site.description | jsonify }},
"icon": {{ site.logo | absolute_url | jsonify }},
"author": { "name": {{ site.author | jsonify }}},
"items": [ {% assign my_posts = site.posts | sort: 'date' %}{% for post in my_posts reversed limit:32 %} {
"id": {{ post.id | jsonify }},
"url": {{ post.url | absolute_url | jsonify }},
"title": {{ post.title | jsonify }},
"content_html": {{ post.content | prepend: base_tag | jsonify }},
"summary": {{ post.excerpt | strip_html | strip_newlines | jsonify}},
"date_published": {{ post.date | date_to_xmlschema | jsonify }},
"tags": {{ post.tags | jsonify }}
}{% if forloop.last == false %},{% endif %}
{% endfor %}
]
}