layouts/devlog-archive.shtml
25 lines · 481 bytes
1<extend template="base.shtml">
2<head id="head">
3 <style>
4 .date {
5 font-size: 0.9em;
6 }
7
8 .title h3{
9 margin-top: 0;
10 }
11 </style>
12</head>
13<body id="body">
14 <h1 :text="$page.title"></h1>
15 <div :html="$page.content()"></div>
16 <div>
17 <h2>Past years</h2>
18 <div :loop="$page.subpages()">
19 <span class="date" :text="$loop.it.date.format('Year 2006')"></span>
20 <a class="title" href="$loop.it.link()">
21 <h3 :text="$loop.it.title"></h3>
22 </a>
23 </div>
24 </div>
25</body>