Sha256: e783f9fea16507d0c1b437d68d8c169bb403d832c2262446c76fd328c108b744

Contents?: true

Size: 671 Bytes

Versions: 3

Compression:

Stored size: 671 Bytes

Contents

<% cache [Blogelator::VERSION, @post, "show"] do %>
  <div class="post <%= @post.status %>">
    <div class="post-image">
      <%= image_tag @post.image.url(:large) %>
    </div>

    <div class="post-content">
      <h1>
        <%= link_to @post.title, @post, class: "title" %>
      </h1>

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

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

      <div class="body">
        <%== @post.body_html %>
      </div>

      <%= render @post.author if @post.author %>
    </div>
  </div>

  <% content_for :head do %>
    <% render "meta" %>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

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