diff options
Diffstat (limited to 'feed')
-rw-r--r-- | feed/index.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/feed/index.xml b/feed/index.xml new file mode 100644 index 0000000..94ea18a --- /dev/null +++ b/feed/index.xml @@ -0,0 +1,21 @@ +--- +layout: none +--- +<?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>{% if site.description %}{{ site.description | xml_escape }}{% endif %}</description> + <link>{{ site.url }}</link> + <atom:link href="{{ site.url }}/feed.xml" rel="self" type="application/rss+xml" /> + {% for post in site.posts %} + <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> + {% endfor %} + </channel> +</rss> |