From 398bf1653be787a58715ad6977adf75ac247d43c Mon Sep 17 00:00:00 2001 From: Ben Goldsworthy Date: Sun, 16 Feb 2025 12:15:31 +0100 Subject: [PATCH] fix: define `section` --- layouts/_default/section.html | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/_default/section.html b/layouts/_default/section.html index 0e019e7..1cf229b 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -50,6 +50,7 @@ {{ .Scratch.Set "page" .Page.Slug }} {{ if ( in "current log wishlist" ( .Scratch.Get "page" ) ) }} + {{ .Scratch.Set "section" .Page.Section }} {{ .Scratch.Get .Page.Slug }} {{ if ( eq ( .Scratch.Get "page" ) "current" ) }} {{ .Scratch.Set "listMode" "current" }}