From 5d37de83342083dec1b0b3186067ec05867c4b92 Mon Sep 17 00:00:00 2001 From: David Eisinger Date: Thu, 2 Mar 2023 22:45:29 -0500 Subject: [PATCH] Tag pages --- content/journal/dispatch-1-march-2023.md | 1 + themes/v2/layouts/_default/tag.html | 15 +++++++++++++++ themes/v2/layouts/_default/tag.terms.html | 16 ++++++++++++++++ themes/v2/layouts/journal/list.html | 16 ++++++++++------ 4 files changed, 42 insertions(+), 6 deletions(-) create mode 100644 themes/v2/layouts/_default/tag.html create mode 100644 themes/v2/layouts/_default/tag.terms.html diff --git a/content/journal/dispatch-1-march-2023.md b/content/journal/dispatch-1-march-2023.md index 59faa85..4aa10d8 100644 --- a/content/journal/dispatch-1-march-2023.md +++ b/content/journal/dispatch-1-march-2023.md @@ -4,6 +4,7 @@ date: 2023-03-02T12:18:17-05:00 draft: false tags: - dispatch +- ebikes --- With the warm winter we've been having in NC, I've gotten to take Nev to and from daycare on the e-bike a whole bunch, which has been just fantastic. I'm wary of becoming too much of an evangelist, but it really does feel like they can replace cars for a lot of folks, and they're fun as hell. diff --git a/themes/v2/layouts/_default/tag.html b/themes/v2/layouts/_default/tag.html new file mode 100644 index 0000000..35904f9 --- /dev/null +++ b/themes/v2/layouts/_default/tag.html @@ -0,0 +1,15 @@ +{{ define "main" }} +
+
+ +

#{{ .Title }}

+ + +
+{{ end }} diff --git a/themes/v2/layouts/_default/tag.terms.html b/themes/v2/layouts/_default/tag.terms.html new file mode 100644 index 0000000..ea22b07 --- /dev/null +++ b/themes/v2/layouts/_default/tag.terms.html @@ -0,0 +1,16 @@ +{{ define "main" }} +
+
+ +

{{ .Title }}

+ + +
+{{ end }} diff --git a/themes/v2/layouts/journal/list.html b/themes/v2/layouts/journal/list.html index e4dacc1..d7bd5a1 100644 --- a/themes/v2/layouts/journal/list.html +++ b/themes/v2/layouts/journal/list.html @@ -2,11 +2,15 @@

- {{ range (where .Site.RegularPages "Type" "in" "journal") }} -

- {{ .Title }} - {{ .Date | time.Format "(2006-01-02)" }} -

- {{ end }} +

Journal

+ +
{{ end }}