Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (31 sloc) 1.28 KB
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ site.name | xml_escape }}</title>
<description>{{ site.description | xml_escape }}</description>
<link>{{ site.url }}</link>
<image>
<url>https://aurelio.net/img/icon/128/aurelio.png</url>
<title>Aurelio</title>
<link>https://aurelio.net</link>
</image>
<atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" />
{% for recent in site.data.recent %}{% assign myposts = site.posts | where:"url",recent.url %}{% assign is_page = 0 %}{% if myposts.size == 0 %}{% assign myposts = site.pages | where:"url",recent.url %}{% assign is_page = 1 %}{% endif %}
{% for post in myposts %}{% assign extension = post.path | slice: -3, 3 %}
<item>
<title>{{ post.title | xml_escape }}</title>
<pubDate>{{ post.date | date: "%a, %d %b %Y 12:00:00 +0000" }}</pubDate>
<link>{{ site.url }}{{ post.url }}</link>
<guid isPermaLink="true">{{ site.url }}{{ post.url }}</guid>
{% if is_page == 1 and extension == ".md" %}
<description>{{ post.content | markdownify | xml_escape }}</description>
{% else %}
<description>{{ post.content | xml_escape }}</description>
{% endif %}
</item>
{% endfor %}{% endfor %}
</channel>
</rss>
You can’t perform that action at this time.