Sha256: 9bb88dac44cee50eb99124b7d70655a70c754e452a9dc6f7739466011e29b549

Contents?: true

Size: 541 Bytes

Versions: 3

Compression:

Stored size: 541 Bytes

Contents

<% cache [Blogelator::VERSION, post, "index"] do %>
  <div class="post <%= post.status %>">
    <%= link_to post, class: "post-link" do %>
      <% if post.image.exists? %>
        <span class="post-image">
          <%= image_tag post.image.url(:small) %>
        </span>
      <% end %>

      <span class="title">
        <%= post.title %>
      </span>
    <% end %>

    <%= local_time(post.published_at, format: "%B %e, %Y", class: "published-at") %>

    <div class="tags">
      <%= render post.tags %>
    </div>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blogelator-1.0.6 app/views/blogelator/posts/_post.html.erb
blogelator-1.0.5 app/views/blogelator/posts/_post.html.erb
blogelator-1.0.4 app/views/blogelator/posts/_post.html.erb