From 66c5a7c269b64578678ab66be1c0b9a6152f29ad Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 21 Nov 2013 00:02:57 +0100 Subject: [PATCH] rss feed --- _src/feed.xml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 _src/feed.xml diff --git a/_src/feed.xml b/_src/feed.xml new file mode 100644 index 00000000..1818f2aa --- /dev/null +++ b/_src/feed.xml @@ -0,0 +1,39 @@ +--- +layout: none +--- + + + + {{ site.name }} + {{ site.description }} + {{ site.url }} + + + {% for post in site.posts limit:100 %} + + {{ post.title }} + + {% if post.image %} + <img src="{{ site.url }}/media/{{ post.image }}" /> + {% endif %} + + {{ post.content | xml_escape }} + + {% if post.layout == "link" %} + <a class="more-link" href="{{ post.linkurl }}">Go to source &#187;</a> <br /> + <a href="{{ site.url }}/{{ post.url }}" title="Permalink for this post">&#8734;</a> + {% endif %} + + + {{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }} + {% if post.layout == "link" %} + {{ post.linkurl }} + {% else %} + {{ site.url }}/{{ post.url }} + {% endif %} + {{ site.url }}/{{ post.url }} + + {% endfor %} + + + \ No newline at end of file