<% switch (type) { case 'category': title = page.category; icon = 'folder'; break; case 'tag': title = '#' + page.tag; icon = 'tag'; break; } %>

<%= title %>

<% page.posts.each(function (post, i) { %>
<%- partial('post/title', { post: post, index: true, class_name: 'timeline-article-title' }) %>
<% }); %>
<% if (page.total > 1) { %> <% } %>