From c56802f21f9ad1cbbe2625dad767c80aab6890ee Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 6 Feb 2014 18:19:43 +0200 Subject: [PATCH] Improve feed.xml. --- feed.xml | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/feed.xml b/feed.xml index 13ed78c..c4c0216 100644 --- a/feed.xml +++ b/feed.xml @@ -1,23 +1,39 @@ --- -layout: none +layout: nil --- - - + + - {{ site.name }} + {{ site.name }} + + {{ site.url }}/ + {{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }} + {{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }} + en-US {{ site.description }} - {{ site.url }} - {% for post in site.posts limit:10 %} {{ post.title }} {{ post.content | xml_escape }} {{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }} {% if post.categories contains 'resources' %} - {{ site.url }}/resources#{{ post.tags }} + {{ site.url }}/resources#{{ post.tags }} {% else %} - {{ site.url }}{{ post.url }} + {{ site.url }}{{ post.url }} {% endif %} + {% for tag in post.tags %} + {{ tag | xml_escape }} + {% endfor %} + {% for cat in post.categories %} + {{ cat | xml_escape }} + {% endfor %} {{ site.url }}{{ post.url }} {% endfor %}