add devlog layouts

This commit is contained in:
CJ van den Berg 2025-04-14 21:50:34 +02:00
parent 5e6929fe14
commit 8985cf6ec9
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
4 changed files with 94 additions and 0 deletions

View file

@ -0,0 +1,24 @@
<extend template="base.shtml">
<head id="head">
<style>
.date {
font-size: 0.9em;
}
.title h3{
margin-top: 0;
}
</style>
</head>
<body id="body">
<h1 :text="$page.title"></h1>
<div :html="$page.content()"></div>
<div>
<h2>Past years</h2>
<div :loop="$page.subpages()">
<span class="date" :text="$loop.it.date.format('Year 2006')"></span>
<a class="title" href="$loop.it.link()">
<h3 :text="$loop.it.title"></h3>
</a>
</div>
</div>
</body>