add slugs, fix tables

This commit is contained in:
Ben Goldsworthy 2025-01-17 02:05:51 +01:00
parent 0d44f0764e
commit eff55debea
No known key found for this signature in database
23 changed files with 90 additions and 70 deletions

View file

@ -50,6 +50,7 @@
{{ .Scratch.Set "page" .Page.Slug }}
{{ if ( in "current log wishlist" ( .Scratch.Get "page" ) ) }}
{{ .Scratch.Get .Page.Slug }}
{{ if ( eq ( .Scratch.Get "page" ) "current" ) }}
{{ .Scratch.Set "listMode" "current" }}
{{ else if ( eq ( .Scratch.Get "page" ) "log" ) }}