ref: 55bd46a633d68f62e131457631ba839d6f876a55
parent: 8dc77b84a5776894b06698be9e129eea12911097
author: Bjørn Erik Pedersen <[email protected]>
date: Wed Feb 21 05:30:00 EST 2018
commands: Remove ERROR on missing baseURL That logic fails in multi-host mode when no baseURL is set on top level. Fixes #4397
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -346,10 +346,6 @@
config.Set("logI18nWarnings", logI18nWarnings)
- if !config.GetBool("relativeURLs") && config.GetString("baseURL") == "" {
- cfg.Logger.ERROR.Println("No 'baseURL' set in configuration or as a flag. Features like page menus will not work without one.")
- }
-
if theme != "" {
config.Set("theme", theme)
}