blob: 5b8d6a6c3370df6a791f02df7bb5c579c8e31b5d [file] [log] [blame]
<%include 'header.gsp'%>
<%include 'menu.gsp'%>
<div id="main-block">
<div class="page-header">
<div class="container">
<h1>Blog Archive</h1>
</div>
</div>
<div class="container">
<!--<ul>-->
<%def last_month=null;%>
<%published_posts.each {post ->%>
<%if (last_month) {%>
<%if (post.date.format("MMMM yyyy") != last_month) {%>
</ul>
<h4>${post.date.format("MMMM yyyy")}</h4>
<ul>
<%}%>
<% } else { %>
<h4>${post.date.format("MMMM yyyy")}</h4>
<ul>
<% }%>
<li>${post.date.format("dd")} - <a href="${post.uri}">${post.title}</a></li>
<%last_month = post.date.format("MMMM yyyy")%>
<%}%>
</ul>
</div>
</div>
<%include "footer.gsp"%>