m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/blog.html.erb
blob: c5ccee28371b48f69070f8fe30152b77c0fe5e44 (plain)
1
2
3
4
5
6
7
8
9
10
<p>
Subscribe with <a href='<%= path_to 'rss' %>'>RSS</a>
</p>
<ul>
<% posts.each do |post| -%>
  <li>
    <a href=<%= path_to post['id'] %>><%= post['title'] %></a> <%= format_date post['date'] %>
  </li>
<% end -%>
</ul>