mirror of
https://github.com/Xevion/glance.git
synced 2025-12-10 18:07:22 -06:00
Update error
This commit is contained in:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user