Update error
This commit is contained in:
1 parent
d19214a390
commit
2c03316f86
1 file changed
+1
-1
@@ -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