From 2879adeb8fd0dcc43251eefbdf580ae34e44dbd7 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Fri, 14 Aug 2015 05:14:14 -0400 Subject: [PATCH] Add an Atom feed. --- _layouts/base.html | 5 +++-- atom.xml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 atom.xml diff --git a/_layouts/base.html b/_layouts/base.html index 1ab7d7d..baa5221 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -7,7 +7,8 @@ - + + @@ -15,7 +16,7 @@ diff --git a/atom.xml b/atom.xml new file mode 100644 index 0000000..19801ae --- /dev/null +++ b/atom.xml @@ -0,0 +1,33 @@ +--- +--- + + + {{ site.url }} + Ben Kurtovic + {{ site.time | date_to_xmlschema }} + + + + Ben Kurtovic + ben.kurtovic@gmail.com + https://benkurtovic.com/ + + /static/favicon.png + © 2011–{{ site.time | date: "%Y" }} Ben Kurtovic + {% for post in site.posts %} + + {{ site.url }}{{ post.id }} + {{ post.title | xml_escape }} + {{ post.date | date_to_xmlschema }} + {{ post.date | date_to_xmlschema }} + + + Ben Kurtovic + ben.kurtovic@gmail.com + https://benkurtovic.com/ + + {{ post.description }} + {{ post.content | xml_escape }} + + {% endfor %} +