diff options
author | Valentin Popov <valentineus@gmail.com> | 2018-04-04 02:25:46 +0300 |
---|---|---|
committer | Valentin Popov <valentineus@gmail.com> | 2018-04-04 02:25:46 +0300 |
commit | 7dc9912c0d8f220cc41e4b2f6afa31c633b1819f (patch) | |
tree | beb246221c5cf8399be1c6257613c241b799de5d /_pages/atom.xml | |
parent | b466d5fe7b26e1104109169ad72e8d5f355f74ca (diff) | |
download | popov.link-7dc9912c0d8f220cc41e4b2f6afa31c633b1819f.tar.xz popov.link-7dc9912c0d8f220cc41e4b2f6afa31c633b1819f.zip |
Renaming pages
Signed-off-by: Valentin Popov <valentineus@gmail.com>
Diffstat (limited to '_pages/atom.xml')
-rw-r--r-- | _pages/atom.xml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/_pages/atom.xml b/_pages/atom.xml new file mode 100644 index 0000000..cc7548e --- /dev/null +++ b/_pages/atom.xml @@ -0,0 +1,53 @@ +--- +permalink: "/atom.xml" +layout: null +--- + +<?xml version="1.0" encoding="utf-8"?> + +<feed xmlns="http://www.w3.org/2005/Atom"> + <!-- 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 | 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> + <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> + </author> + + {% for node 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.url | absolute_url | 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> + + <!-- Author --> + <author> + <email>{{ site.author.email | xml_escape }}</email> + <name>{{ site.author.name | xml_escape }}</name> + <uri>{{ site.author.url | xml_escape }}</uri> + </author> + + <!-- Content --> + <content type="html" xml:base="{{ node.url | absolute_url | xml_escape }}"> + {{ node.content | strip | strip_newlines | xml_escape }} + </content> + </entry> + {% endfor %} +</feed> |