Fix feed bugs

This commit is contained in:
mathias 2019-07-30 23:00:39 +03:00
parent 145faced03
commit 3a8d909230
2 changed files with 5 additions and 6 deletions

View file

@ -1,7 +1,6 @@
title: Kaboom title: Kaboom
description: Kaboom is a multiplayer server for Minecraft that combines free OP with anarchy. Do anything you want, without having to worry about rules. description: Kaboom is a multiplayer server for Minecraft that combines free OP with anarchy. Do anything you want, without having to worry about rules.
url: https://kaboom.pw url: https://kaboom.pw
permalink: /news/
exclude: exclude:
- LICENSE - LICENSE

View file

@ -3,17 +3,17 @@ layout: minify
--- ---
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"> <feed xmlns="http://www.w3.org/2005/Atom">
<title>{{ site.name }} - News</title> <title>{{ site.title }} - News</title>
<subtitle>{{ site.description }}</subtitle> <subtitle>{{ site.description }}</subtitle>
<updated>{{ site.time | date_to_xmlschema }}</updated> <updated>{{ site.time | date_to_xmlschema }}</updated>
<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>
<content>{{ post.content | xml_escape }}</content> <content type="html">{{ post.content | xml_escape }}</content>
<published>{{ post.date | date_to_xmlschema }}</published> <published>{{ post.date | date_to_xmlschema }}</published>
<link href="{{ site.url }}news/"/> <link href="{{ site.url }}/news/"/>
</entry> </entry>
{% endfor %} {% endfor %}
</feed> </feed>