From 31433028bf2f756a0be0624d6b666a2f156e529b Mon Sep 17 00:00:00 2001 From: wgroeneveld Date: Mon, 20 Jun 2022 18:16:53 +0200 Subject: [PATCH] refactor terms index via Tons note --- content/notes/2022/06/20h15m09s14.md | 8 ++++++++ content/tags/_index.md | 2 +- themes/brainbaking-minimal/layouts/_default/terms.html | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 content/notes/2022/06/20h15m09s14.md diff --git a/content/notes/2022/06/20h15m09s14.md b/content/notes/2022/06/20h15m09s14.md new file mode 100644 index 00000000..f3b2af76 --- /dev/null +++ b/content/notes/2022/06/20h15m09s14.md @@ -0,0 +1,8 @@ +--- +date: 2022-06-20T15:09:14+02:00 +context: "https://www.zylstra.org/blog/2022/06/adding-an-index/" +--- + +A much clearer page compared to my archives page, thanks for sharing. I modified my own `/archives` to better reflect yours and Frank's layout. Not yet sure what the cut-off point should be, I'm not that big on tagging yet and my blog isn't as old as your, we'll see how it goes. I have removed one-offs now, and might retro-fit in more tags from older articles. + + diff --git a/content/tags/_index.md b/content/tags/_index.md index 6a22fc54..32f7f8d3 100644 --- a/content/tags/_index.md +++ b/content/tags/_index.md @@ -56,4 +56,4 @@ I also write about retro PC/Handheld gaming and actual _bread baking_ on sister The following tags are the most used in my writing: {{< popular-categories >}}. -Behold a list of alphabetically sorted tags used in every article on this very website. Related articles share a set of tags. +Behold a list of alphabetically sorted tags used in every article on this very website that appear more than once. Related articles share a set of tags. Happy clicking! diff --git a/themes/brainbaking-minimal/layouts/_default/terms.html b/themes/brainbaking-minimal/layouts/_default/terms.html index 041bac7d..27adaada 100644 --- a/themes/brainbaking-minimal/layouts/_default/terms.html +++ b/themes/brainbaking-minimal/layouts/_default/terms.html @@ -1,4 +1,5 @@ {{ $.Scratch.Set "curLetter" "" }} +{{ $offset := 1 }} {{ partial "header" . }} {{ partial "bigimg" . }} @@ -38,9 +39,11 @@