5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-01 11:26:08 +00:00
panel/views/posts/index.haml
2017-10-05 16:42:32 -03:00

14 lines
318 B
Plaintext

.row
.col-2
= haml :'sites/_nav'
.col-10
%h1= @site.name
%table.table.table-striped
%tbody
- @site.posts.docs.each do |post|
%tr
%td
%a{href: "/sites/#{@site.name}/posts/#{post.basename}"}= post.data['title']
%td= post.date.strftime('%F')