From 0f4c98e0fbb5131defbec1a2802fd7a8ca5bea73 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 11 Apr 2018 03:46:06 +0000 Subject: [PATCH] RSS feed --- _pages/atom.xml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/_pages/atom.xml b/_pages/atom.xml index daf9bfc..69c42a4 100644 --- a/_pages/atom.xml +++ b/_pages/atom.xml @@ -1,5 +1,5 @@ --- -permalink: "/atom.xml" +permalink: "atom.xml" layout: null --- @@ -9,44 +9,44 @@ layout: null - {{ site.url | slugify | xml_escape }} + {{ site.url | strip_newlines | strip_html | strip | normalize_whitespace | slugify | xml_escape }} - {{ "/assets/favicon-32x32.png" | absolute_url | xml_escape }} - {{ site.title | smartify | strip_html | normalize_whitespace | xml_escape }} - {{ site.description | smartify | strip_html | normalize_whitespace | xml_escape }} + {{ "/assets/apple-touch-icon.png" | absolute_url | xml_escape }} + {{ site.title | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} + {{ site.description | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} {{ site.time | date_to_xmlschema }} - {{ site.author.email | xml_escape }} - {{ site.author.name | xml_escape }} - {{ site.author.url | xml_escape }} + {{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} + {{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} + {{ site.author.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} - {% for node in site.posts %} + {% for item in site.posts %} - - {{ node.id | slugify | xml_escape }} + + {{ item.id | strip_newlines | strip_html | strip | normalize_whitespace | slugify | xml_escape }} - {{ node.title | smartify | strip_html | normalize_whitespace | xml_escape }} - {{ node.description | smartify | strip_html | normalize_whitespace | xml_escape }} - {{ node.latest_update | default: node.date | date_to_xmlschema }} - {{ node.date | date_to_xmlschema }} + {{ item.title | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} + {{ item.description | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} + {{ item.latest_update | default: item.date | date_to_xmlschema }} + {{ item.date | date_to_xmlschema }} - {{ site.author.email | xml_escape }} - {{ site.author.name | xml_escape }} - {{ site.author.url | xml_escape }} + {{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} + {{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} + {{ site.author.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }} - - {{ node.content | strip | strip_newlines | xml_escape }} + + {{ item.content | strip_newlines | strip | xml_escape }} {% endfor %}