mirror of
https://github.com/glanceapp/glance.git
synced 2025-06-21 18:31:24 +02:00
Update error
This commit is contained in:
parent
d19214a390
commit
2c03316f86
@ -267,7 +267,7 @@ func isConfigStateValid(config *config) error {
|
||||
|
||||
for i := range config.Pages {
|
||||
if config.Pages[i].Title == "" {
|
||||
return fmt.Errorf("page %d has no title", i+1)
|
||||
return fmt.Errorf("page %d has no name", i+1)
|
||||
}
|
||||
|
||||
if config.Pages[i].Width != "" && (config.Pages[i].Width != "wide" && config.Pages[i].Width != "slim") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user