aboutsummaryrefslogtreecommitdiff
path: root/layouts/taxonomies/home.html
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2023-10-02 09:02:20 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2023-10-02 09:02:20 +0200
commit2c17fbcdf8ea36d9d10dba243db94de85575e8ed (patch)
tree6609bbe9837d851f3d0be160f025285606465dc4 /layouts/taxonomies/home.html
parentc6ef2fd7aeff28abfd4ec372262de3ecd4684c04 (diff)
chore: Copy theme layouts
Diffstat (limited to 'layouts/taxonomies/home.html')
-rw-r--r--layouts/taxonomies/home.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/taxonomies/home.html b/layouts/taxonomies/home.html
new file mode 100644
index 0000000..6a7dce5
--- /dev/null
+++ b/layouts/taxonomies/home.html
@@ -0,0 +1,17 @@
+{{ define "main" }}
+{{ $pages := .Pages }}
+<div class="flex flex-col gap-1">
+<h1 class="text-2xl font-extrabold">{{ if .Params.header }}{{ .Params.header }}{{ else }}{{ .Title }}{{ end }}</h1>
+{{ if .Content }}<p class="content text-lg text-gray-900">{{ .Content }}</p>{{ end }}
+</div>
+
+<section class="py-10 flex flex-col gap-10 ">
+<ul class="taxonomy-list">
+ {{ range $index, $pages}}
+ {{ partial "list/categories" . }}
+ {{ end }}
+</ul>
+</section>
+
+
+{{ end }}