%
const postList = createNewArchivePosts(is_archive() ? site.posts : page.posts)
%>
<% postList.forEach(postYear => { %>
<%= postYear.year %>
<% postYear.postList.forEach(post => { %>
-
<%= post.title %>
<%= date(post.date, 'MM-DD') %>
<% }) %>
<% }) %>