Add mobile reachability header

This commit is contained in:
Svilen Markov
2024-05-08 01:21:55 +01:00
parent 976fb02bd3
commit 2389415071
3 changed files with 19 additions and 5 deletions

View File

@@ -55,10 +55,11 @@ type templateData struct {
}
type Page struct {
Title string `yaml:"name"`
Slug string `yaml:"slug"`
Columns []Column `yaml:"columns"`
mu sync.Mutex
Title string `yaml:"name"`
Slug string `yaml:"slug"`
ShowMobileHeader bool `yaml:"show-mobile-header"`
Columns []Column `yaml:"columns"`
mu sync.Mutex
}
func (p *Page) UpdateOutdatedWidgets() {