Sha256: 7288f9db69c2705c92209af722002346196900cf13d3705fe8aca253d467916b

Contents?: true

Size: 349 Bytes

Versions: 4

Compression:

Stored size: 349 Bytes

Contents

<ul class=posts>
<% posts.each do |post| %>
  <li>
    <h2><%= link_to post.title, post.path, :title => post.title %></h2>
    <%= content_tag :p, post.publication_date.try(:to_s, :concise) %>
  <% if show_summary %>
    <%= content_tag :p, strip_tags(post.summary) %>
    <%= link_to 'Read More...', post.path %>
  <% end %>
  </li>
<% end %>
</ul>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blog_logic-1.4.15 app/views/posts/_index.html.erb
blog_logic-1.4.14 app/views/posts/_index.html.erb
blog_logic-1.4.13 app/views/posts/_index.html.erb
blog_logic-1.4.12 app/views/posts/_index.html.erb