m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.html.erb')
-rw-r--r--src/index.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.html.erb b/src/index.html.erb
index 536b15a..414b201 100644
--- a/src/index.html.erb
+++ b/src/index.html.erb
@@ -8,11 +8,11 @@
<h2>Recent posts <a style='font-size: 18px;' href='<%= path_to 'rss' %>'>(RSS)</a>:</h2>
<ul>
-<% posts.take(5).each do |post| %>
+<% posts.take(5).each do |post| -%>
<li>
<a href='<%= path_to post['id'] %>'><%= post['title'] %></a> <%= format_date post['date'] %>
</li>
-<% end %>
+<% end -%>
</ul>
<hr />