mirror of
https://github.com/kaboomserver/website.git
synced 2024-12-22 07:45:00 +00:00
Add author and id to feed
This commit is contained in:
parent
2c920ee874
commit
28b129789c
1 changed files with 5 additions and 2 deletions
7
feed.xml
7
feed.xml
|
@ -5,14 +5,17 @@ layout: minify
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||||
<title>{{ site.title }} - News</title>
|
<title>{{ site.title }} - News</title>
|
||||||
<subtitle>{{ site.description }}</subtitle>
|
<subtitle>{{ site.description }}</subtitle>
|
||||||
<pubDate>{{ site.time | date_to_xmlschema }}</pubDate>
|
<published>{{ site.time | date_to_xmlschema }}</published>
|
||||||
<link href="{{ site.url }}/"/>
|
<link href="{{ site.url }}/"/>
|
||||||
<link href="{{ site.url }}/feed.xml" rel="self"/>
|
<link href="{{ site.url }}/feed.xml" rel="self"/>
|
||||||
{% for post in site.posts %}
|
{% for post in site.posts %}
|
||||||
<entry>
|
<entry>
|
||||||
<title>{{ post.date | date: "%B %e, %Y" }}</title>
|
<title>{{ post.date | date: "%B %e, %Y" }}</title>
|
||||||
|
<author>{{ site.title }}</author>
|
||||||
<content type="html">{{ post.content | xml_escape }}</content>
|
<content type="html">{{ post.content | xml_escape }}</content>
|
||||||
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
|
<published>{{ post.date | date_to_xmlschema }}</published>
|
||||||
|
<updated>{{ post.date | date_to_xmlschema }}</updated>
|
||||||
|
<id>{{ post.id | xml_escape }}</id>
|
||||||
<link href="{{ site.url }}/news/"/>
|
<link href="{{ site.url }}/news/"/>
|
||||||
</entry>
|
</entry>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue