Move paige.header.menu params to paige

This commit is contained in:
Will Faught
2023-02-24 17:29:01 -08:00
parent fc70456790
commit 2a303cdff7

View File

@@ -1,7 +1,7 @@
{{ $page := . }}
{{ $basepath := path.Clean (urls.Parse site.BaseURL).Path }}
{{ $breakpoint := $page.Param "paige.header.menu.breakpoint" | default "sm" }}
{{ $breakpoint := $page.Param "paige.menu.breakpoint" | default "sm" }}
{{ $links := false }}
{{ $pills := false }}
@@ -9,7 +9,7 @@
{{ $basepath = "" }}
{{ end }}
{{ with $page.Param "paige.header.menu.style" }}
{{ with $page.Param "paige.menu.style" }}
{{ if eq . "links" }}
{{ $links = true }}
{{ else if eq . "pills" }}