<%= div_for(@post, class: "post-index-page") do %>
<p><strong><%= @post.title %></strong> <%= @post.summary %></p>
<% end %>
<%= div_for(@post, class: "post-index-page") do %>
<p><strong><%= @post.title %></strong> <%= @post.summary %></p>
<% end %>