<% page.posts.each(function (post) { %>
<% if(date(post.date, "YYYY") != date_cursor) { %>
<% date_cursor = date(post.date, "YYYY") %>
<%= date_cursor %>
<% } %> <%= post.title %> <% }) %>%- css('css/tag.css') %> <%- partial('_partial/header',{name:'tags'}) %> <% var date_cursor = 'xxx' page.title = "标签:" + page.tag %>
<%= date_cursor %>
<% } %> <%= post.title %> <% }) %>