From 3a1a72937e52d57abbd3e7011c504b5a622dfbc8 Mon Sep 17 00:00:00 2001
From: Marcin Chrzanowski
Date: Sun, 15 Dec 2019 15:04:01 +0100
Subject: Link to RSS feed
---
scripts/build.rb | 1 +
src/blog.html.erb | 3 +++
src/index.html.erb | 2 +-
3 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/scripts/build.rb b/scripts/build.rb
index a1c9754..103e8f9 100755
--- a/scripts/build.rb
+++ b/scripts/build.rb
@@ -39,6 +39,7 @@ P.add 'style', 'style.css'
P.add 'index', 'index.html'
P.add 'blog', 'blog.html'
P.add 'projects', 'projects.html'
+P.add 'rss', 'rss.xml'
if !Dir.exists? 'public/blog'
Dir.mkdir 'public/blog'
diff --git a/src/blog.html.erb b/src/blog.html.erb
index 3709ca9..7fb308e 100644
--- a/src/blog.html.erb
+++ b/src/blog.html.erb
@@ -1,3 +1,6 @@
+
+Subscribe with '>RSS
+
<% posts.each do |post| %>
-
diff --git a/src/index.html.erb b/src/index.html.erb
index 10052ee..f5805e5 100644
--- a/src/index.html.erb
+++ b/src/index.html.erb
@@ -5,7 +5,7 @@
bachelor's.
-Recent posts:
+
<% posts.take(5).each do |post| %>
--
cgit v1.2.3