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

<!-- Page Content -->
{{ range $index, $element :=  where .Pages "Type" "in" .Site.Params.mainSections }}
{{ partial "open_section.html" . }}

    {{ range first .Params.index_show .Pages.ByPublishDate.Reverse }}
    <div class="stripe-dark">
    {{ partial "post.html" . }}
    </div>
    {{ end }}

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