blob: cad95fe2a5436f984fffb91b83de4fc28739c9ce (
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
|
<div class="my-5 flex justify-between">
<span class="truncate mr-6">
{{with (where .Site.RegularPages "Params.patient" ($.Scratch.Get "patientFull")).Prev . }}
<a href="{{ .RelPermalink }}" class="link">
{{ .Date.Format "January 2, 2006" }} -
{{ if ne .Params.type "other"}}
{{ .Param "type" | title }}
{{ else }}
{{ .Param "description" }}
{{end}}
</a>
{{ end }}
</span>
<span class="truncate ml-6">
{{with (where .Site.RegularPages "Params.patient" ($.Scratch.Get "patientFull")).Next . }}
<a href="{{ .RelPermalink }}" class="link">
{{ .Date.Format "January 2, 2006" }} -
{{ if ne .Params.type "other"}}
{{ .Param "type" | title }}
{{ else }}
{{ .Param "description" }}
{{end}}
</a>
{{ end }}
</span>
</div>
|