Files
godot-website/pages/rss.json

24 lines
803 B
JSON

---
permalink: /rss.json
---
{
"title": "{{ site.data.meta.title }}",
"description": "{{ site.data.meta.description }}",
"items": [
{% assign latest_posts = site.article | sort:"date" | reverse %}
{% for post in latest_posts limit:24 %}
{
"title": "{{ post.title | escape }}",
"link": "{{ site.url }}{{ post.url }}",
"description": "{{ post.excerpt | escape }}",
"categories": [{% for category in post.categories %}"{{ site.data.categories[category][0].name }}"{% unless forloop.last %},{% endunless %}{% endfor %}],
"guid": "{{ site.url }}{{ post.url }}",
"dc:creator": "{{ post.author | escape }}",
"pubDate": "{{ post.date | date: "%a, %d %b %Y %X +0000" }}",
"image": "{{ site.url }}{{ post.image }}"
}{% unless forloop.last %},{% endunless %}
{% endfor %}
]
}