Allow hiding widget header

This commit is contained in:
Svilen Markov
2025-05-06 10:52:46 +01:00
parent 6b7d68d960
commit c5d4cf8f68
2 changed files with 9 additions and 1 deletions

View File

@@ -150,6 +150,7 @@ type widgetBase struct {
Type string `yaml:"type"`
Title string `yaml:"title"`
TitleURL string `yaml:"title-url"`
HideHeader bool `yaml:"hide-header"`
CSSClass string `yaml:"css-class"`
CustomCacheDuration durationField `yaml:"cache"`
ContentAvailable bool `yaml:"-"`
@@ -161,7 +162,6 @@ type widgetBase struct {
cacheType cacheType `yaml:"-"`
nextUpdate time.Time `yaml:"-"`
updateRetriedTimes int `yaml:"-"`
HideHeader bool `yaml:"-"`
}
type widgetProviders struct {