blob: dd740b90ceec8032e80b82a8468854931d3e62af [file] [log] [blame]
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head th:replace="header.thyme::head"/>
<body onload="prettyPrint()">
<div id="wrap">
<div th:replace="menu.thyme::menu"/>
<div class="container">
<div class="page-header">
<h1>Blog Archive</h1>
</div>
<div th:each="post : ${posts}" th:with='last_month=null' th:remove='tag'>
<h3 th:if='${last_month!=#dates.format(post.date,"MMMM yyyy")}' th:text='${#dates.format(post.date,"MMMM yyyy")}'>June 2014</h3>
<h4><span th:text='${#dates.format(post.date,"dd")}' th:remove='tag'/> - <a th:href="${content.rootpath+post.uri}" th:text='${post.title}' href="foo.html">Post title</a></h4>
<span th:remove='all' th:with='last_month = ${#dates.format(post.date,"MMMM yyyy")}'/>
</div>
</div>
</div>
<div th:replace="footer.thyme::footer"></div>
</body>
</html>