mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-29 07:00:31 +03:00
Unexport the remaining vars in hugo command
This commit is contained in:
parent
a89b2f41d6
commit
74539dea87
6 changed files with 44 additions and 36 deletions
|
@ -128,7 +128,7 @@ func server(cmd *cobra.Command, args []string) error {
|
|||
|
||||
viper.Set("port", serverPort)
|
||||
|
||||
BaseURL, err := fixURL(viper.GetString("BaseURL"))
|
||||
BaseURL, err := fixURL(baseURL)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
@ -139,7 +139,7 @@ func server(cmd *cobra.Command, args []string) error {
|
|||
}
|
||||
|
||||
// If a Destination is provided via flag write to disk
|
||||
if Destination != "" {
|
||||
if destination != "" {
|
||||
renderToDisk = true
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue