From aebe1485ea7b1ce6c447554772e21e6487d70934 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 3 Apr 2018 17:33:34 +0000 Subject: RSS template Signed-off-by: Valentin Popov --- _pages/atom.md | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 _pages/atom.md (limited to '_pages') diff --git a/_pages/atom.md b/_pages/atom.md new file mode 100644 index 0000000..50c01d3 --- /dev/null +++ b/_pages/atom.md @@ -0,0 +1,54 @@ +--- +layout: null +permalink: "/atom.xml" +sidebar: false +--- + + + + + + + + {{ site.url | 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 }} + {{ site.time | date_to_xmlschema }} + + + + {{ site.author.email | xml_escape }} + {{ site.author.name | xml_escape }} + {{ site.author.url | xml_escape }} + + + {% for node in site.posts %} + + + + + {{ node.url | absolute_url | 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 }} + + + + {{ site.author.email | xml_escape }} + {{ site.author.name | xml_escape }} + {{ site.author.url | xml_escape }} + + + + + {{ node.content | strip | strip_newlines | xml_escape }} + + + {% endfor %} + -- cgit v1.2.3