Sha256: 4044c621926b38b7a03ae3d0da2138fb8701bdbec151e2ccffd58d438be3480b

Contents?: true

Size: 254 Bytes

Versions: 3

Compression:

Stored size: 254 Bytes

Contents

%h1 Blog Posts

- @posts.each do |post|
  
  %h1= link_to post.title, blog_post_path(@cms_site.path, @blog.path, post.slug)
  .author
    = post.author
  .date
    = post.published_at.to_s(:db)
  .content
    = post.content.html_safe
  
= paginate @posts

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
comfy_blog-1.1.1 app/views/blog/posts/index.html.haml
comfy_blog-1.1.0 app/views/blog/posts/index.html.haml
comfy_blog-1.0.0 app/views/blog/posts/index.html.haml