m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/blog.html.erb
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-08-12 21:06:13 -0700
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2019-08-12 21:16:35 -0700
commit59447261a889b1b65f32e325894ef6fc2b9288c6 (patch)
tree548614e0ee9cdd7000562f87a4be0c46d6a78e60 /src/blog.html.erb
parentd24ac544f910da9d4d4f9dd7db0e24248257f9a7 (diff)
Change post ids in pather
Diffstat (limited to 'src/blog.html.erb')
-rw-r--r--src/blog.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blog.html.erb b/src/blog.html.erb
index bd7b8aa..3709ca9 100644
--- a/src/blog.html.erb
+++ b/src/blog.html.erb
@@ -1,7 +1,7 @@
<ul>
<% posts.each do |post| %>
<li>
- <a href=<%= path_to post['title'] %>><%= post['title'] %></a> <%= format_date post['date'] %>
+ <a href=<%= path_to post['id'] %>><%= post['title'] %></a> <%= format_date post['date'] %>
</li>
<% end %>
</ul>