Blog Archive
<%def last_month=null;%>
<%published_posts.each {post ->%>
<%if (last_month) {%>
<%if (post.date.format("MMMM yyyy") != last_month) {%>
${post.date.format("MMMM yyyy")}
-
<%}%>
<% } else { %>
- ${post.date.format("dd")} - ${post.title} <%last_month = post.date.format("MMMM yyyy")%> <%}%>
${post.date.format("MMMM yyyy")}
-
<% }%>