blob: b292aaf2e306da99aa0b69b39c7f0849b81beae9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{{ define "main" }}
<article>
<section>
{{- .Content -}}
</section>
<section>
{{ range (.Paginator 25).Pages.GroupByDate "2006" }}
<hr class="p-0 m-0" />
<section class="flex flex-col md:flex-row items-start items-baseline">
<div class="pl-4 pb-2 md:sticky top-0 order-1 pr-6">
<h2 class=" text-eucalyptus-600">{{ .Key }}</h2>
</div>
<ul class="order-2 flex-grow">
{{ range .Pages }}
<div class="py-1 flex">
<span class="font-serif pr-4">{{.Date.Format "01-02"}}</span>
<div class="font-serif font-medium">
<a href="{{ .Permalink }}">
{{ .Title }}
</a>
{{ with .Description }}
<div class="pl-4 text-gray-600 font-light italic">{{.}}</div>
{{ end }}
</div>
</div>
{{ end }}
</ul>
</section>
{{ end }}
<!-- {{ range .Paginator.Pages }}
<div>
<div>
<a href="{{ .Permalink }}">
{{ .Title }}
</a>
</div>
{{ with .Description }}
<div>{{.}}</div>
{{ end }}
</div>
{{ end }} -->
</section>
</article>
{{ end }}
{{define "footer"}}
{{ partial "list-footer.html" . }}
{{end}}
|