From 046e3c9906999cd43e074472461c0800f787b234 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Sun, 15 Dec 2019 14:41:07 +0100 Subject: Add RSS feed --- src/rss.xml.erb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/rss.xml.erb (limited to 'src') diff --git a/src/rss.xml.erb b/src/rss.xml.erb new file mode 100644 index 0000000..6f14b86 --- /dev/null +++ b/src/rss.xml.erb @@ -0,0 +1,23 @@ + + + + + +Martin's Blog +Random writings and notes from Martin's keyboard to your screen. +en-us +http://m-chrzan.xyz/rss.xml + + +<% posts.each do |post| %> + + <%= post['title'] %> + http://m-chrzan.xyz/<%= post['html_filename'] %> + <%= post['date'] %> + + ]]> + +<% end %> + + -- cgit v1.2.3