1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Move the privacy config into a parent

See #4751
This commit is contained in:
Bjørn Erik Pedersen
2018-05-22 14:00:36 +02:00
parent 568b4335c2
commit 353148c2bc
10 changed files with 23 additions and 19 deletions

View File

@@ -384,6 +384,6 @@ privacyEnhanced = true
b.WithConfigFile("toml", tomlConfig)
b.Build(BuildCfg{SkipRender: true})
assert.True(b.H.Sites[0].Info.PrivacyConfig.YouTube.PrivacyEnhanced)
assert.True(b.H.Sites[0].Info.Config.Privacy.YouTube.PrivacyEnhanced)
}