<% @posts.each_with_index do |post, index| %> <%= raw "
" if index%3 == 0 && index > 0 %> <%= render partial: 'partials/post_list_item', locals: {post: post.decorate} %> <% end %>
<%= content_tag("div", raw(ct('no_contents_found', default: 'No contents found')), class: "alert alert-warning") if @posts.empty? %> <%= raw cama_do_pagination(@posts) %>