%
var title = '';
if (page.category) title += __('category', page.category);
if (page.tag) title += __('tag', page.tag);
if (page.archive){
if (page.year) title += __('archive_b', page.year + (page.month ? '/' + page.month : ''));
else title += __('archive_a');
}
%>
<%= title %>
<% if (pagination == 2){ %>
<% page.posts.each(function(item){ %>
<%- partial('article', {item: item, index: true}) %>
<% }); %>
<%- partial('pagination') %>
<% } else { %>
<% var this_year; %>
<% page.posts.each(function(item){ %>
<% var year = item.date.year(); %>
<% if (this_year != year || !this_year){ %>
<% this_year = year; %>