mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-14 20:33:59 +02:00
Fix typos
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
0efd374805
commit
3cea2932e1
@@ -66,7 +66,7 @@ func DecodeConfig(cfg config.Provider) (c Config, err error) {
|
||||
|
||||
err = mapstructure.WeakDecode(m, &c)
|
||||
|
||||
// Keep backwards compability.
|
||||
// Keep backwards compatibility.
|
||||
if c.GoogleAnalytics.ID == "" {
|
||||
// Try the global config
|
||||
c.GoogleAnalytics.ID = cfg.GetString(googleAnalyticsKey)
|
||||
|
Reference in New Issue
Block a user