summaryrefslogtreecommitdiffstats
path: root/config/allconfig/allconfig.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/allconfig/allconfig.go')
-rw-r--r--config/allconfig/allconfig.go14
1 files changed, 8 insertions, 6 deletions
diff --git a/config/allconfig/allconfig.go b/config/allconfig/allconfig.go
index a0d1d0ae8..9960c28f3 100644
--- a/config/allconfig/allconfig.go
+++ b/config/allconfig/allconfig.go
@@ -57,12 +57,11 @@ type InternalConfig struct {
// Server mode?
Running bool
- Quiet bool
- Verbose bool
- Clock string
- Watch bool
- DisableLiveReload bool
- LiveReloadPort int
+ Quiet bool
+ Verbose bool
+ Clock string
+ Watch bool
+ LiveReloadPort int
}
// All non-params config keys for language.
@@ -454,6 +453,9 @@ type RootConfig struct {
// Disable the injection of the Hugo generator tag on the home page.
DisableHugoGeneratorInject bool
+ // Disable live reloading in server mode.
+ DisableLiveReload bool
+
// Enable replacement in Pages' Content of Emoji shortcodes with their equivalent Unicode characters.
// <docsmeta>{"identifiers": ["Content", "Unicode"] }</docsmeta>
EnableEmoji bool