Skip to content

Commit e61e846

Browse files
committed
Add jsonfeed.org support to queuebit.net
1 parent 9bc5909 commit e61e846

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

_layouts/jsonfeed.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"version": "https://jsonfeed.org/version/1",
3+
"title": "queuebit's blog",
4+
"description": "A blog, for queuebit.",
5+
"home_page_url": "https://queuebit.net",
6+
"feed_url": "https://queuebit.net/feed.json",
7+
"user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL — https://jsonfeed.org/feed.json — and add it your reader.",
8+
"favicon": "https://queuebit.net/favicon.ico",
9+
"author": {
10+
"name": "queuebit"
11+
},
12+
"items": [
13+
{% for post in site.categories.blog %}
14+
{
15+
"id": "{{ post.id }}",
16+
"url": "http://queuebit.net{{ post.url }}",
17+
"title": {{ post.title | smartify | jsonify }},
18+
"content_html": {{ post.content | jsonify }},
19+
"date_published": "{{ post.date }}"
20+
},
21+
{% endfor %}
22+
]
23+
}

feed.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
layout: jsonfeed
3+
lang: en
4+
---

0 commit comments

Comments
 (0)