mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
@@ -377,13 +377,13 @@ someOtherValue = "foo"
|
||||
|
||||
[privacy]
|
||||
[privacy.youtube]
|
||||
noCookie = true
|
||||
privacyEnhanced = true
|
||||
`
|
||||
|
||||
b := newTestSitesBuilder(t)
|
||||
b.WithConfigFile("toml", tomlConfig)
|
||||
b.Build(BuildCfg{SkipRender: true})
|
||||
|
||||
assert.True(b.H.Sites[0].Info.PrivacyConfig.YouTube.NoCookie)
|
||||
assert.True(b.H.Sites[0].Info.PrivacyConfig.YouTube.PrivacyEnhanced)
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user