fix: define section
This commit is contained in:
parent
eff55debea
commit
398bf1653b
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@
|
||||||
{{ .Scratch.Set "page" .Page.Slug }}
|
{{ .Scratch.Set "page" .Page.Slug }}
|
||||||
{{ if ( in "current log wishlist" ( .Scratch.Get "page" ) ) }}
|
{{ if ( in "current log wishlist" ( .Scratch.Get "page" ) ) }}
|
||||||
|
|
||||||
|
{{ .Scratch.Set "section" .Page.Section }}
|
||||||
{{ .Scratch.Get .Page.Slug }}
|
{{ .Scratch.Get .Page.Slug }}
|
||||||
{{ if ( eq ( .Scratch.Get "page" ) "current" ) }}
|
{{ if ( eq ( .Scratch.Get "page" ) "current" ) }}
|
||||||
{{ .Scratch.Set "listMode" "current" }}
|
{{ .Scratch.Set "listMode" "current" }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue