style: show years
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
</header>
|
</header>
|
||||||
<div>
|
<div>
|
||||||
<th:block th:each="archive : ${archives.items}">
|
<th:block th:each="archive : ${archives.items}">
|
||||||
|
<h2 th:text="${archive.year}"></h2>
|
||||||
<ul>
|
<ul>
|
||||||
<th:block th:each="month : ${archive.months}">
|
<th:block th:each="month : ${archive.months}">
|
||||||
<li class="post-list" th:each="post : ${month.posts}">
|
<li class="post-list" th:each="post : ${month.posts}">
|
||||||
@@ -29,8 +30,6 @@
|
|||||||
<th:block th:replace="~{modules/tag-list(post = ${post})}"
|
<th:block th:replace="~{modules/tag-list(post = ${post})}"
|
||||||
th:if="${theme.config.page.archives_tags}"/></div>
|
th:if="${theme.config.page.archives_tags}"/></div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
</th:block>
|
</th:block>
|
||||||
</ul>
|
</ul>
|
||||||
</th:block>
|
</th:block>
|
||||||
|
|||||||
Reference in New Issue
Block a user