summaryrefslogtreecommitdiff
path: root/themes/conspiracy/layouts/_default/list.html
blob: 02703b4f28beb54e8a3a7ef8dda16891d23f56a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{{- define "main" }}
    {{- if not .IsHome | and .Title }}
    <header>
        <h1>{{ .Title }}</h1>
        {{- partial "breadcrumbs.html" . }}
    </header>
    {{- end }}
    <main class="cards">
        {{- if .Content }}
        <div class="intro">
            {{ .Content }}
        </div>
        {{- end }}
        {{- range .Pages }}
            {{ partial "card.html" . }}
        {{- end }}
    </main>
{{- end }}