Sha256: 0751071cc1a652edae6f7be9286fddd3ae0c9e50d93509dd738dc3c5fc2db1b3

Contents?: true

Size: 436 Bytes

Versions: 2

Compression:

Stored size: 436 Bytes

Contents

%h1#page-title= Ecm::Blog::Configuration.posts_index_page_title_proc.call(self)

- @collection.each do |resource|
  - if resource.preview_picture.present?
    = render partial: "post_in_index_with_preview_picture", locals: { post: resource }
  - else
    = render partial: "post_in_index", locals: { post: resource }

.row
  .col-lg-12.text-center
    = paginate(@collection, Ecm::Blog::Configuration.pagination_options_proc.call(self))

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ecm_blog-1.3.1 app/views/ecm/blog/posts/index.haml
ecm_blog-1.3.0 app/views/ecm/blog/posts/index.haml