aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/about.html
blob: a88a9b154b53b8cfb88624130ce5601cf2b97a75 (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
{{ define "hero" }}
  {{ partial "hero.html" . }}
{{ end }}

{{ define "main" }}
  {{ range .Paginator.Pages }}
    <div class="stripe-dark">
      <div class="mw7 center pv2 lh-copy f4-ns ph1">
        <h2
          id="{{ anchorize .Title | safeURL }}"
          class="baskerville lh-title f2"
        >
          {{ .Title }}
        </h2>
        {{ with .Content }}
          <div class="main-content">{{ . }}</div>
        {{ end }}

        {{ range where site.RegularPages "Type" "eq" .Params.subsection }}
          {{ partial "post.html" . }}
        {{ end }}
      </div>
    </div>
  {{ end }}
{{ end }}