aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/blog/shared/_posts.html.erb
blob: 24a81992cbafb0265403bf8b6fccc94e9b2a0071 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
<% if @blog_posts.many? %>
  <h2><%= t('.other') %></h2>
  <ul id="blog_posts">
    <% @blog_posts.each do |blog_post| %>
      <li class='clearfix'>
        <%= link_to blog_post.title, blog_post_url(blog_post) %>
      </li>
    <% end %>
  </ul>
<% end %>