diff options
-rwxr-xr-x | scripts/build.rb | 1 | ||||
-rw-r--r-- | src/blog.html.erb | 3 | ||||
-rw-r--r-- | src/index.html.erb | 2 |
3 files changed, 5 insertions, 1 deletions
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 @@ +<p> +Subscribe with <a href='<%= path_to 'rss' %>'>RSS</a> +</p> <ul> <% posts.each do |post| %> <li> 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. </p> -<h2>Recent posts:</h2> +<h2>Recent posts <a style='font-size: 18px;' href='<%= path_to 'rss' %>'>(RSS)</a>:</h2> <ul> <% posts.take(5).each do |post| %> |