Sha256: 38c2c8e57675271f1e072b0f0822131c83b79dc5a339ad5cb817786ab0b01f00

Contents?: true

Size: 550 Bytes

Versions: 2

Compression:

Stored size: 550 Bytes

Contents

<% cache [Blogelator::VERSION, post, "index", Blogelator.show_full_post] do %>
  <div class="post">
    <h2><%= link_to post.title, post %></h2>
    <div class="date">
      <%= local_time(post.published_at, format: '%B %e, %Y') %>
    </div>
    <div class="summary">
      <p>
        <% if Blogelator.show_full_post %>
          <%=raw post.body_html %>
        <% else %>
          <%=raw post.summary %>
          <%= link_to raw("Continue reading &raquo;"), post, class: "continue" %>
        <% end %>
      </p>
    </div>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blogelator-0.2.5 app/views/blogelator/posts/_post.html.erb
blogelator-0.2.4 app/views/blogelator/posts/_post.html.erb