diff options
author | Valentin Popov <valentineus@gmail.com> | 2018-04-11 06:46:06 +0300 |
---|---|---|
committer | Valentin Popov <valentineus@gmail.com> | 2018-04-11 06:46:06 +0300 |
commit | 0f4c98e0fbb5131defbec1a2802fd7a8ca5bea73 (patch) | |
tree | 6090aee22a09357c6af89f29962ab576596e8aa8 /_pages/atom.xml | |
parent | a3b1d203a07ded90e33ab3ddc8eeabf09add16d8 (diff) | |
download | popov.link-0f4c98e0fbb5131defbec1a2802fd7a8ca5bea73.tar.xz popov.link-0f4c98e0fbb5131defbec1a2802fd7a8ca5bea73.zip |
RSS feed
Diffstat (limited to '_pages/atom.xml')
-rw-r--r-- | _pages/atom.xml | 40 |
1 files 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 <!-- Identifiers and references --> <link href="{{ site.rss | absolute_url | xml_escape }}" rel="self" type="application/atom+xml" /> <link href="{{ site.url | xml_escape }}" rel="alternate" type="text/html" /> - <id>{{ site.url | slugify | xml_escape }}</id> + <id>{{ site.url | strip_newlines | strip_html | strip | normalize_whitespace | slugify | xml_escape }}</id> <!-- Description and name --> - <icon>{{ "/assets/favicon-32x32.png" | absolute_url | xml_escape }}</icon> - <title>{{ site.title | smartify | strip_html | normalize_whitespace | xml_escape }}</title> - <subtitle>{{ site.description | smartify | strip_html | normalize_whitespace | xml_escape }}</subtitle> + <icon>{{ "/assets/apple-touch-icon.png" | absolute_url | xml_escape }}</icon> + <title>{{ site.title | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</title> + <subtitle>{{ site.description | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</subtitle> <updated>{{ site.time | date_to_xmlschema }}</updated> <!-- Author --> <author> - <email>{{ site.author.email | xml_escape }}</email> - <name>{{ site.author.name | xml_escape }}</name> - <uri>{{ site.author.url | xml_escape }}</uri> + <email>{{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</email> + <name>{{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</name> + <uri>{{ site.author.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</uri> </author> - {% for node in site.posts %} + {% for item in site.posts %} <!-- Full size record --> <entry> <!-- Identifiers and references --> - <link href="{{ node.url | absolute_url | xml_escape }}" rel="alternate" type="text/html" /> - <id>{{ node.id | slugify | xml_escape }}</id> + <link href="{{ item.url | absolute_url | xml_escape }}" rel="alternate" type="text/html" /> + <id>{{ item.id | strip_newlines | strip_html | strip | normalize_whitespace | slugify | xml_escape }}</id> <!-- Description and name --> - <title>{{ node.title | smartify | strip_html | normalize_whitespace | xml_escape }}</title> - <summary>{{ node.description | smartify | strip_html | normalize_whitespace | xml_escape }}</summary> - <updated>{{ node.latest_update | default: node.date | date_to_xmlschema }}</updated> - <published>{{ node.date | date_to_xmlschema }}</published> + <title>{{ item.title | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</title> + <summary>{{ item.description | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</summary> + <updated>{{ item.latest_update | default: item.date | date_to_xmlschema }}</updated> + <published>{{ item.date | date_to_xmlschema }}</published> <!-- Author --> <author> - <email>{{ site.author.email | xml_escape }}</email> - <name>{{ site.author.name | xml_escape }}</name> - <uri>{{ site.author.url | xml_escape }}</uri> + <email>{{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</email> + <name>{{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</name> + <uri>{{ site.author.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</uri> </author> <!-- Content --> - <content type="html" xml:base="{{ node.url | absolute_url | xml_escape }}"> - {{ node.content | strip | strip_newlines | xml_escape }} + <content type="html" xml:base="{{ item.url | absolute_url | xml_escape }}"> + {{ item.content | strip_newlines | strip | xml_escape }} </content> </entry> {% endfor %} |