Fix formatting

This commit is contained in:
Svilen Markov 2024-11-16 07:15:26 +00:00
parent f6f352e9e0
commit c1efd3f68b

View File

@ -68,15 +68,15 @@ type templateData struct {
} }
type Page struct { type Page struct {
Title string `yaml:"name"` Title string `yaml:"name"`
Slug string `yaml:"slug"` Slug string `yaml:"slug"`
Width string `yaml:"width"` Width string `yaml:"width"`
ShowMobileHeader bool `yaml:"show-mobile-header"` ShowMobileHeader bool `yaml:"show-mobile-header"`
ExpandMobilePageNavigation bool `yaml:"expand-mobile-page-navigation"` ExpandMobilePageNavigation bool `yaml:"expand-mobile-page-navigation"`
HideDesktopNavigation bool `yaml:"hide-desktop-navigation"` HideDesktopNavigation bool `yaml:"hide-desktop-navigation"`
CenterVertically bool `yaml:"center-vertically"` CenterVertically bool `yaml:"center-vertically"`
Columns []Column `yaml:"columns"` Columns []Column `yaml:"columns"`
mu sync.Mutex mu sync.Mutex
} }
func (p *Page) UpdateOutdatedWidgets() { func (p *Page) UpdateOutdatedWidgets() {