Sha256: 4ed2bfc6d70ab402673a1b56b6947568378b715c9cdfffefc12b176c68360a00

Contents?: true

Size: 643 Bytes

Versions: 3

Compression:

Stored size: 643 Bytes

Contents

<% cache [Blogelator::VERSION, post, "index"] do %>
  <div class="post <%= post.status %>">
    <h2><%= link_to post.title, post.url(request) %></h2>
    <div class="published-at">
      <%= local_time(post.published_at, format: "%B %e, %Y") %>
    </div>
    <div class="tags">
      <%= render post.tags %>
    </div>
    <% if post.summary_html.blank? %>
      <div class="body">
        <%== post.body_html %>
      </div>
    <% else %>
      <div class="summary">
        <%== post.summary_html %>
        <%= link_to raw("Continue reading &raquo;"), post.url(request), class: "continue" %>
      </div>
    <% end %>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blogelator-1.0.2 app/views/blogelator/posts/_post.html.erb
blogelator-1.0.1 app/views/blogelator/posts/_post.html.erb
blogelator-1.0.0 app/views/blogelator/posts/_post.html.erb