blob: 7c95390e536e10e83941133f36c32cc163f1a3d4 (
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
|
{{ define "main" }}
<header class="max-w-screen-md mx-auto">
<h1 class="baskerville px-1">
{{ .Title }}
</h1>
{{ with .Params.subtitle }}
<h3 class="text-2xl baskerville my-4 p-1">{{ . }}</h3>
{{ end }}
{{ partial "meta_links.html" . }}
{{ if .Params.metadata }}
{{ partial "metadata.html" . }}
{{ end }}
{{ partial "leading_image.html" . }}
</header>
<div class="main-content max-w-screen-md mx-auto px-1">
{{ .Content }}
</div>
{{ partial "image-gallery" . }}
{{ if .Site.Params.tipping }}
{{ partial "tipping" . }}
{{ end }}
<div class="py-2">
{{ if in (slice "post" "talk") .Section }}
{{ range .Params.authors }}
{{ $name := . }}
{{ $path := printf "/%s/%s" "authors" ( $name | urlize ) }}
{{ with $.GetPage $path }}
{{ if .File }}
{{ partial "author_card" (merge .Params (dict "path" $path )) }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ partial "post_pager" . }}
</div>
{{ end }}
|