mirror of
https://github.com/privacyguides/privacyguides.org
synced 2024-11-28 14:03:30 +01:00
9f348bdb83
Signed-off-by: Daniel Gray <dng@disroot.org>
25 lines
1010 B
JSON
25 lines
1010 B
JSON
---
|
|
layout: null
|
|
---
|
|
{
|
|
"version": "https://jsonfeed.org/version/1",
|
|
"title": "{{ site.title | xml_escape }}",
|
|
"description": {{ site.description | jsonify }},
|
|
"home_page_url": "{{ "/" | absolute_url }}",
|
|
"feed_url": "{{ "/feed.json" | absolute_url }}",
|
|
"user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format.",
|
|
"items": [{% for post in site.posts %}
|
|
{
|
|
"id": "{{ post.url | absolute_url }}",
|
|
"url": "{{ post.url | absolute_url }}",
|
|
"title": {{ post.title | jsonify }},
|
|
"content_html": {{ post.content | jsonify }},
|
|
"date_published": "{{ post.date | date_to_xmlschema }}",
|
|
"authors": [{% for author in post.author %}
|
|
{
|
|
"name": "{{ author }}"
|
|
}{% unless forloop.last %}, {% endunless %}{% endfor %}
|
|
]
|
|
}{% unless forloop.last %},{% endunless %}{% endfor %}
|
|
]
|
|
} |