diff options
author | jaseg <git@jaseg.de> | 2023-03-19 00:53:31 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2023-03-19 00:53:31 +0100 |
commit | 92e3b5f49f6f5336530988e7839ab3ed283b86e4 (patch) | |
tree | 23abd87cb15055b7f4cbb5c0e4f2d1518d3ac6cc /themes/conspiracy/layouts/_default/list.html | |
parent | 072b2d38e254cfa662d4d9e994e624f612d1766e (diff) | |
download | blog-92e3b5f49f6f5336530988e7839ab3ed283b86e4.tar.gz blog-92e3b5f49f6f5336530988e7839ab3ed283b86e4.tar.bz2 blog-92e3b5f49f6f5336530988e7839ab3ed283b86e4.zip |
Big site update
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 }} |