mirror of
https://github.com/godotengine/godot-website.git
synced 2025-12-31 09:48:43 +03:00
Add more fields to RSS items (#546)
* Add more fields to RSS items * replace author by dc:creator and description with excerpt
This commit is contained in:
@@ -16,8 +16,14 @@ permalink: /rss.xml
|
||||
<item>
|
||||
<title>{{ post.title }}</title>
|
||||
<link>{{ site.url }}{{ post.url }}</link>
|
||||
<description>{{ post.content | xml_escape }}</description>
|
||||
<description>{{ post.excerpt }}</description>
|
||||
{% for category in post.categories %}
|
||||
<category>{{ site.data.categories[category][0].name }}</category>
|
||||
{% endfor %}
|
||||
<guid>{{ site.url }}{{ post.url }}</guid>
|
||||
<dc:creator>{{ post.author }}</dc:creator>
|
||||
<pubDate>{{ post.date | date: "%a, %d %b %Y %X +0000" }}</pubDate>
|
||||
<image>{{ site.url }}{{ post.image }}</image>
|
||||
</item>
|
||||
{% endfor %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user