aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
blob: 24bcffb579c47ecc7e48c4671fdb0f352cb26c54 (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
{{ 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 }}
      {{ partial "author_card" .Site.Author }}
    {{ end }}
    {{ partial "post_pager" . }}
  </div>
{{ end }}