{{ 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 }}