aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/index.html
blob: b75e6f839a898236776657cac4a900fd4b6f03de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ define "hero" }}
{{ partial "hero.html" . }}
{{ end }}

{{ define "main" }}
<!-- Page Content -->
{{ range $index, $element :=  where .Pages "Type" "in" .Site.Params.mainSections }}
{{ range first 4 .Pages.ByPublishDate.Reverse }}
{{ partial "post.html" . }}
{{ end }}

<div class="tc pa3">
  <i class="fas fa-angle-right"></i>
  <a href="{{ .Type }}" class="f3 link near-black">See all</a>
</div>
{{ end }}
{{ end }}