blob: c6609419eb689bf35c92c56531ee0532d9495f6c (
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 .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 }}
|