From 008088e899c753cedaa8d8af79fc9b05823f95c9 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Mon, 16 Jul 2018 15:59:10 +0200 Subject: Fix atom XML feed --- feed.xml | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) (limited to 'feed.xml') diff --git a/feed.xml b/feed.xml index 6adf38b..d7f77cc 100644 --- a/feed.xml +++ b/feed.xml @@ -2,22 +2,25 @@ layout: null --- {% assign documents = site.documents | where: 'feed', true | sort: 'date' | reverse %} - - - {{ site.title | xml_escape }} - {{ site.description | xml_escape }} - {{ site.url }}{{ site.baseurl }}/ - - {{ site.time | date_to_rfc822 }} - {{ site.time | date_to_rfc822 }} - Jekyll v{{ jekyll.version }}{% for post in documents limit:10 %} - - {{ post.title | xml_escape }} - {{ post.date | date_to_rfc822 }} - {{ post.url | prepend: site.baseurl | prepend: site.url }} - {{ post.url | prepend: site.baseurl | prepend: site.url }}{% for tag in post.tags %} - {{ tag | xml_escape }}{% endfor %}{% for cat in post.categories %} - {{ cat | xml_escape }}{% endfor %} - {% endfor %} - + + {{ site.url }}{{ site.baseurl }} + {{ site.title | xml_escape }} + {{ site.description | strip | xml_escape }} + {{ site.time | date_to_xmlschema }} + + + {{ site.author }} + {{ site.email }} + + Jekyll{% for post in documents limit:25 %} + + {{ post.id }} + {{ post.title | xml_escape }} + {{ post.date | date_to_xmlschema }} + {% if post.description %} + {{ post.description | strip | xml_escape }}{% endif %} + {{ post.url | prepend: site.baseurl | prepend: site.url }}{% for tag in post.tags %} + {% endfor %}{% for cat in post.categories %} + {% endfor %} + {% endfor %} -- cgit v1.1