index.html 633 Bytes
Newer Older
Tobias Bengfort's avatar
Tobias Bengfort committed
1
{{ define "main" }}
Tobias Bengfort's avatar
Tobias Bengfort committed
2
3
4
  <div class="bg-body mt-2 mb-3">
    <div class="home-banner">
      {{ .Content }}
Tobias Bengfort's avatar
Tobias Bengfort committed
5
    </div>
Tobias Bengfort's avatar
Tobias Bengfort committed
6
  </div>
Tobias Bengfort's avatar
Tobias Bengfort committed
7

Tobias Bengfort's avatar
Tobias Bengfort committed
8
9
10
11
12
13
14
15
16
17
  <div class="tiles tiles-mid mt-2 mb-3">
    {{ range first 1 (where (where .Site.RegularPages "Params.category" "full game") "Params.featured" true) }}
      {{ partial "front_card.html" . }}
    {{ end }}
    {{ range first 1 (where .Site.Pages "Params.category" "mission") }}
      {{ partial "front_card.html" . }}
    {{ end }}
    {{ range first 1 (where (where .Site.Pages "Params.category" "blog") "Params.featured" true) }}
      {{ partial "front_card.html" . }}
    {{ end }}
Tobias Bengfort's avatar
Tobias Bengfort committed
18
  </div>
Tobias Bengfort's avatar
Tobias Bengfort committed
19
{{ end }}