<%include "header.gsp"%> | |
<%include "menu.gsp"%> | |
<div id="main-block"> | |
<div class="page-header"> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-sm-12"> | |
<h1>Tag: ${tag}</h1> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="container"> | |
<!--<ul>--> | |
<%def last_month=null;%> | |
<%tag_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"%> |