| <%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"%> |