From dade247326fe6bf82c627704eed67df72ed632e3 Mon Sep 17 00:00:00 2001 From: David Eisinger Date: Thu, 9 Jan 2025 16:11:59 -0500 Subject: [PATCH] Date stuff --- content/archive/_index.md | 2 ++ themes/v2/layouts/archive/list.html | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/content/archive/_index.md b/content/archive/_index.md index 163475d..9d92b70 100644 --- a/content/archive/_index.md +++ b/content/archive/_index.md @@ -2,4 +2,6 @@ title: "Archive" date: 2023-10-17T10:50:41-04:00 draft: false +start_date: 2023-03-01T00:00:00-04:00 +end_date: 2025-02-28T00:00:00-04:00 --- diff --git a/themes/v2/layouts/archive/list.html b/themes/v2/layouts/archive/list.html index 842c993..836cfef 100644 --- a/themes/v2/layouts/archive/list.html +++ b/themes/v2/layouts/archive/list.html @@ -1,6 +1,7 @@ {{ define "main" }} -
- {{ .Content }} +
+ {{ time.Format "January 2006" .Params.start_date }} – + {{ time.Format "January 2006" .Params.end_date}}
{{ range (sort (.Site.RegularPages.RelatedTo (keyVals "tags" "dispatch")) "Date" "asc") }}