sutty/app/views/posts/index.haml

9 lines
211 B
Text
Raw Normal View History

2018-01-29 22:19:10 +00:00
%h1= @site.name
%table.table.table-condensed.table-striped
%tbody
- @site.posts.each do |post|
%tr
%td= link_to post.title, site_post_path(@site, post)
2018-01-30 15:20:19 +00:00
%td= post.date.strftime('%F')