Sha256: 42d370753bc4365075b821c9fac3fa980278f264f7c9ede85998ec86e4e22ed3

Contents?: true

Size: 518 Bytes

Versions: 7

Compression:

Stored size: 518 Bytes

Contents

<article class='post'>
  <header class='post-header'>
    <%= link_to posts_show_path(post), rel: 'bookmark' do %><h1><%= post.title %></h1><% end %>
  </header>

  <section class='post-body'>
    <%= post.body_html.html_safe %>
  </section>

  <footer class='post-footer'>
    <!-- TODO: add author link -->
    <% unless post.category.nil? %>
      <%= link_to post.category.title, posts_category_path(post.category) %>
    <% end %>
    <time><%= l post.published_at, format: :long %></time>
  </footer>
</article>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
character-1.0.6 app/views/posts/_post.html.erb
character-1.0.5 app/views/posts/_post.html.erb
character-1.0.4 app/views/posts/_post.html.erb
character-1.0.3 app/views/posts/_post.html.erb
character-1.0.2 app/views/posts/_post.html.erb
character-1.0.1 app/views/posts/_post.html.erb
character-1.0.0 app/views/posts/_post.html.erb