arcanis.me/ru/feed.xml

36 lines
1.1 KiB
XML

---
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>arcanis' blog</title>
<description>arcanis' blog</description>
<link>{{ site.url }}/ru</link>
<image>
<url>{{ site.url }}/resources/icon-35x35.png</url>
<title>arcanis' blog</title>
<link>{{ site.url }}/ru</link>
</image>
<atom:link href="{{ site.url }}/ru/feed.xml" rel="self" type="application/rss+xml" />
{% for post in site.categories.ru limit:10 %}
{% if post.tags contains 'offtop' %}
<!-- do nothing -->
{% else %}
{% if post.categories contains 'projects' %}
<!-- do nothing -->
{% else %}
<item>
<title>{{ post.title | xml_escape }}</title>
<description>
{{ post.content | xml_escape}}
</description>
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<link>{{ site.url }}{{ post.url }}</link>
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
</item>
{% endif %}
{% endif %}
{% endfor %}
</channel>
</rss>