This commit is contained in:
Debian
2025-09-08 23:58:12 +02:00
commit 8e10c0e458
35 changed files with 1229 additions and 0 deletions

27
templates/archive.ftl Normal file
View File

@ -0,0 +1,27 @@
<#include "header.ftl">
<#include "menu.ftl">
<div class="page-header">
<h1>Blog Archive</h1>
</div>
<!--<ul>-->
<#list published_posts as post>
<#if (last_month)??>
<#if post.date?string("MMMM yyyy") != last_month>
</ul>
<h4>${post.date?string("MMMM yyyy")}</h4>
<ul>
</#if>
<#else>
<h4>${post.date?string("MMMM yyyy")}</h4>
<ul>
</#if>
<li>${post.date?string("dd")} - <a href="${content.rootpath}${post.uri}">${post.title}</a></li>
<#assign last_month = post.date?string("MMMM yyyy")>
</#list>
</ul>
<#include "footer.ftl">