From 4b24152d244798273a671e90df4a893826ffd6b4 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Fri, 3 Apr 2026 08:13:17 +0200 Subject: Simplified categories --- content/categories/_index.md | 8 -------- content/categories/css/_index.md | 4 ---- content/categories/javascript/_index.md | 6 ------ content/categories/uncategories/_index.md | 5 ----- content/tags/_index.md | 8 -------- layouts/_default/list.html | 13 +++++++++++++ 6 files changed, 13 insertions(+), 31 deletions(-) delete mode 100644 content/categories/_index.md delete mode 100644 content/categories/css/_index.md delete mode 100644 content/categories/javascript/_index.md delete mode 100644 content/categories/uncategories/_index.md delete mode 100644 content/tags/_index.md 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 }} +

{{ if .Params.header }} @@ -14,4 +17,14 @@ {{ end }}

+
+ {{ range $paginator.Pages }} + {{ partial "list/default" . }} + {{ end }} +
+ +{{ if gt $paginator.TotalPages 1 }} + {{ partial "list/pagination" . }} +{{ end }} + {{ end }} -- cgit v1.3