mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-07-16 06:19:55 +00:00
add short feed
This commit is contained in:
30
ru/feed-short.xml
Normal file
30
ru/feed-short.xml
Normal file
@ -0,0 +1,30 @@
|
||||
---
|
||||
layout: none
|
||||
---
|
||||
<?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 %}
|
||||
<item>
|
||||
<title>{{ post.title | xml_escape }}</title>
|
||||
<description>{{ post.description | 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 %}
|
||||
{% endfor %}
|
||||
</channel>
|
||||
</rss>
|
Reference in New Issue
Block a user