diff options
Diffstat (limited to 'themes/conspiracy/layouts/_default/list.html')
-rw-r--r-- | themes/conspiracy/layouts/_default/list.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/themes/conspiracy/layouts/_default/list.html b/themes/conspiracy/layouts/_default/list.html new file mode 100644 index 0000000..02703b4 --- /dev/null +++ b/themes/conspiracy/layouts/_default/list.html @@ -0,0 +1,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 }} |