blob: cad6a350cfd2febd9d7a2ca573b17668aa36f421 (
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="mw7 center">
<h1 class="baskerville f1 lh-title mv3 ph1">
{{ .Title }}
</h1>
{{ with .Params.subtitle }}
<h3 class="f3 baskerville mv3 pa1">{{ . }}</h3>
{{ end }}
{{ partial "meta_links.html" . }}
{{ if .Params.metadata }}
{{ partial "metadata.html" . }}
{{ end }}
{{ partial "leading_image.html" . }}
</header>
<div class="main-content mw7 center lh-copy f5 f4-ns ph1">
{{ .Content }}
</div>
{{ partial "image-gallery" . }}
{{ if .Site.Params.tipping }}
{{ partial "tipping" . }}
{{ end }}
<div class="f5 f4-ns lh-copy pv2">
{{ 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 }}
|