aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2026-04-03 08:13:17 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2026-05-24 17:27:35 +0200
commit4b24152d244798273a671e90df4a893826ffd6b4 (patch)
treeb86770cc3f3fbc70bbd3a99eb66aac684bafc044
parent665c954cb0afcb598775f0b676ff4736230b6ddf (diff)
Simplified categories
-rw-r--r--content/categories/_index.md8
-rw-r--r--content/categories/css/_index.md4
-rw-r--r--content/categories/javascript/_index.md6
-rw-r--r--content/categories/uncategories/_index.md5
-rw-r--r--content/tags/_index.md8
-rw-r--r--layouts/_default/list.html13
6 files changed, 13 insertions, 31 deletions
diff --git a/content/categories/_index.md b/content/categories/_index.md
deleted file mode 100644
index 2a3b1b8..0000000
--- a/content/categories/_index.md
+++ /dev/null
@@ -1,8 +0,0 @@
----
-title: "Categories"
-draft: false
-type: taxonomies
-layout: "home"
----
-
-Our Categories Collection \ No newline at end of file
diff --git a/content/categories/css/_index.md b/content/categories/css/_index.md
deleted file mode 100644
index b5be71c..0000000
--- a/content/categories/css/_index.md
+++ /dev/null
@@ -1,4 +0,0 @@
----
-title: "CSS"
-draft: false
----
diff --git a/content/categories/javascript/_index.md b/content/categories/javascript/_index.md
deleted file mode 100644
index 93ca412..0000000
--- a/content/categories/javascript/_index.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: "JavaScript"
-draft: false
----
-
-Description \ No newline at end of file
diff --git a/content/categories/uncategories/_index.md b/content/categories/uncategories/_index.md
deleted file mode 100644
index 6714638..0000000
--- a/content/categories/uncategories/_index.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-title: "Uncategories"
-draft: false
----
-Description \ No newline at end of file
diff --git a/content/tags/_index.md b/content/tags/_index.md
deleted file mode 100644
index 86f3bdb..0000000
--- a/content/tags/_index.md
+++ /dev/null
@@ -1,8 +0,0 @@
----
-title: "Tags"
-draft: false
-type: taxonomies
-layout: "home"
----
-
-Our Tags Collection \ No newline at end of file
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 30435fe..96c9029 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,5 +1,8 @@
{{ define "main" }}
+{{ $pages := .Pages }}
+{{ $paginator := .Paginate $pages }}
+
<div class="flex flex-col gap-1">
<h1 class="text-2xl font-extrabold">
{{ if .Params.header }}
@@ -14,4 +17,14 @@
{{ end }}
</div>
+<section class="flex flex-col gap-10">
+ {{ range $paginator.Pages }}
+ {{ partial "list/default" . }}
+ {{ end }}
+</section>
+
+{{ if gt $paginator.TotalPages 1 }}
+ {{ partial "list/pagination" . }}
+{{ end }}
+
{{ end }}