Sha256: d71fc5ff725b87d72390e5a21c05dbe19c243830bd8e80eb26a33ef9816eebd5

Contents?: true

Size: 357 Bytes

Versions: 3

Compression:

Stored size: 357 Bytes

Contents

<li class="post">
  <%= content_tag :h2, link_to(post.title, url('/:post.year/:post.month/:post.slug', post: post)) %>
  <%= content_tag :time, l(post.published_at.to_date, format: :long) %>
  <div class='content'>
    <%= post.excerpt %>
  </div>

  <%= link_to 'Read more', url('/:post.year/:post.month/:post.slug/', post: post), class: %w(read) %>
</li>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ecrire-0.25.2 lib/ecrire/theme/template/views/posts/_post.html.erb
ecrire-0.25.1 lib/ecrire/theme/template/views/posts/_post.html.erb
ecrire-0.25.0 lib/ecrire/theme/template/views/posts/_post.html.erb