blog_sidebar.html 315 Bytes
Newer Older
Julius Volz's avatar
Julius Volz committed
1 2
<div class="col-md-3 side-nav-col">
  <ul class="nav navbar-nav side-nav">
3
    <li>
Julius Volz's avatar
Julius Volz committed
4
      <span class="nav-header">Blog posts</span>
Julius Volz's avatar
Julius Volz committed
5
      <ul class="nav active">
Julius Volz's avatar
Julius Volz committed
6 7 8
      <% sorted_articles.each do |post| %>
        <li><%= link_to post[:title], post.path %></li>
      <% end %>
9 10
      </ul>
    </li>
Julius Volz's avatar
Julius Volz committed
11 12
  </ul>
</div>