From 906b5fba9ddc2d1ce91aacf8745585b6d6d77584 Mon Sep 17 00:00:00 2001 From: AngeloR Date: Wed, 29 Jan 2025 00:44:46 -0500 Subject: [PATCH] fix: link to archive --- content/{_list.md => all-posts/_index.md} | 0 layouts/section/all-posts.html | 13 +++++++++++++ .../layouts/partials/nav-links.html | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) rename content/{_list.md => all-posts/_index.md} (100%) create mode 100644 layouts/section/all-posts.html diff --git a/content/_list.md b/content/all-posts/_index.md similarity index 100% rename from content/_list.md rename to content/all-posts/_index.md diff --git a/layouts/section/all-posts.html b/layouts/section/all-posts.html new file mode 100644 index 0000000..159bebc --- /dev/null +++ b/layouts/section/all-posts.html @@ -0,0 +1,13 @@ +{{ define "main" }} +{{.Content}} + +{{ range .Site.RegularPages.GroupByDate "2006" }} +

{{ .Key }}

+ +{{ end }} + +{{ end }} diff --git a/themes/brutalist-minimalist/layouts/partials/nav-links.html b/themes/brutalist-minimalist/layouts/partials/nav-links.html index 6613543..ab861d3 100644 --- a/themes/brutalist-minimalist/layouts/partials/nav-links.html +++ b/themes/brutalist-minimalist/layouts/partials/nav-links.html @@ -24,6 +24,6 @@ */}} Home -Archive +Archive Linkblog -- 2.25.1