Commit 3e88c9cc authored by Alexandr Musikhin's avatar Alexandr Musikhin

changed to new format

parent b9d90b8b
......@@ -2,29 +2,19 @@
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<rss version="2.0">
<channel>
<title>{{ site.title | xml_escape }}</title>
<description>{{ site.description | xml_escape }}</description>
<link>{{ '/' | absolute_url }}</link>
<atom:link href="{{ '/feed.xml' | absolute_url }}" rel="self" type="application/rss+xml"/>
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
<generator>Jekyll v{{ jekyll.version }}</generator>
{% for post in site.posts limit:10 %}
{%- for post in site.posts limit:10 -%}
{%- assign content = post.content | remove: '<p>' | remove: '</p>' | xml_escape -%}
<item>
<title>{{ post.title | xml_escape }}</title>
<description>{{ post.content | xml_escape }}</description>
<title>{{ post.status | prepend: '[' | append: '] ' | append: content }}</title>
<description>{{ content }}</description>
<pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
<link>{{ post.url | absolute_url }}</link>
<guid isPermaLink="true">{{ post.url | absolute_url }}</guid>
{% for tag in post.tags %}
<category>{{ tag | xml_escape }}</category>
{% endfor %}
{% for cat in post.categories %}
<category>{{ cat | xml_escape }}</category>
{% endfor %}
<link>{{ '' | absolute_url }}</link>
<guid>{{ post.date | date: '%F' | prepend: '/incidents/#' | absolute_url }}</guid>
</item>
{% endfor %}
{%- endfor -%}
</channel>
</rss>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment