redo site in jekyll
[martlubbers.net.git] / foerageer.xml
diff --git a/foerageer.xml b/foerageer.xml
new file mode 100644 (file)
index 0000000..be55f0a
--- /dev/null
@@ -0,0 +1,34 @@
+---
+layout: null
+---
+<?xml version="1.0" encoding="UTF-8" ?>
+<rss version="2.0">
+<channel>
+       {% assign blog = site.pages | where:'name','foerageer.md' %}
+       {% for page in blog limit:1 %}
+       <title>{{ page.title }}</title>
+       <description>
+                       {{ page.title }}:
+                       {{ page.description }}
+       </description>
+       <link>{{ page.url }}</link>
+       <lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
+       {% endfor %}
+
+       {% for post in site.posts %}
+       <item>
+               <title>{{ post.title }}</title>
+               <link>
+                       {{ post.url | prepend: site.url }}
+               </link>
+               <description>
+                       {{ post.excerpt }}
+               </description>
+               <pubDate>{{ post.date | date_to_rfc822 }}</pubDate>
+               <guid>
+                       {{ post.url | prepend: site.url }}
+               </guid>
+       </item>
+       {% endfor %}
+</channel>
+</rss>