blob: d7b81c64fb8087811624388c4bd5f3e30093cb7d (
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
|
{{ define "main" }}
<div class="w-3/5 mx-auto pb-10">
<div class="mb-4 sticky bg-white pt-5 pb-5 top-0 border-b-2 print:hidden">
{{ emojify ":file_folder:" }}
<a href="{{ .Site.BaseURL }}" class="link">Notes</a>
<span class=""> / </span>
<a href="/patient" class="link">Patients</a>
<span class=""> / </span>
<span class="font-semibold">{{ .Title }}</span>
</div>
<section id="main" class="mb-20 w-10/12 mx-auto">
<div>
{{ range (.Pages.GroupByDate "Mon 2 January 2006") }}
<h3 class="font-semibold py-2 pl-1 my-4 bg-gray-100">{{ .Key }}</h3>
<ul class="list-disc list-inside">
{{ range .Pages }}
<li class="my-2">
<a href="{{ .Permalink }}" class="link">
{{ if ne .Params.type "other"}}
{{ .Param "type" | title }}
{{ else }}
{{ .Param "description" }}
{{end}}
</a>
</li>
{{ end }}
</ul>
{{ end }}
</div>
</section>
</div>
{{ end }}
|