<%- css('css/tag.css') %> <%- partial('_partial/header',{name:'tags'}) %> <% var date_cursor = 'xxx' page.title = "标签:" + page.tag %>
Q

<%- page.tag %>

<% page.posts.each(function (post) { %> <% if(date(post.date, "YYYY") != date_cursor) { %> <% date_cursor = date(post.date, "YYYY") %>

<%= date_cursor %>

<% } %> <%= post.title %> <% }) %>