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.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.html.erb b/src/index.html.erb
index 23f08bc..11715c1 100644
--- a/src/index.html.erb
+++ b/src/index.html.erb
@@ -9,7 +9,7 @@
<ul>
<% posts.take(5).each do |post| %>
<li>
- <a href='<%= path_to post['title'] %>'><%= post['title'] %></a> <%= post['date'] %>
+ <a href='<%= path_to post['title'] %>'><%= post['title'] %></a> <%= format_date post['date'] %>
</li>
<% end %>
</ul>