diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2019-12-15 15:04:01 +0100 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2019-12-15 15:04:01 +0100 |
commit | 3a1a72937e52d57abbd3e7011c504b5a622dfbc8 (patch) | |
tree | 1fe69cf0a4a1de4a1805d462969041c57133ee55 /src | |
parent | 597b43561ea18caf026b236ab3012a53361e0e72 (diff) |
Link to RSS feed
Diffstat (limited to 'src')
-rw-r--r-- | src/blog.html.erb | 3 | ||||
-rw-r--r-- | src/index.html.erb | 2 |
2 files changed, 4 insertions, 1 deletions
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| %> |