aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2018-05-25 11:16:23 +0200
committerBjørn Erik Pedersen <[email protected]>2018-05-25 11:16:23 +0200
commit448081b840db4a23c0c49c2d869ac207dcb6ac40 (patch)
treecf1c69bad108a1484a52913c2ec51ee19795f57c /config
parent1f1d955b56471e41d5288c57f1ef8333dc297120 (diff)
downloadhugo-448081b840db4a23c0c49c2d869ac207dcb6ac40.tar.gz
hugo-448081b840db4a23c0c49c2d869ac207dcb6ac40.zip
Remove youtube_simple for now
We need to revisit and complete that. See #4751
Diffstat (limited to 'config')
-rw-r--r--config/privacy/privacyConfig.go5
-rw-r--r--config/privacy/privacyConfig_test.go1
2 files changed, 0 insertions, 6 deletions
diff --git a/config/privacy/privacyConfig.go b/config/privacy/privacyConfig.go
index 33e98754c..6dad54e72 100644
--- a/config/privacy/privacyConfig.go
+++ b/config/privacy/privacyConfig.go
@@ -89,11 +89,6 @@ type YouTube struct {
// YouTube won’t store information about visitors on your website
// unless the user plays the embedded video.
PrivacyEnhanced bool
-
- // If simple mode is enabled, only a thumbnail is fetched from ytimg.com and
- // shown with a play button overlaid. If a user clicks the button, he/she will
- // be taken to the video page on youtube.com in a new browser tab.
- Simple bool
}
func DecodeConfig(cfg config.Provider) (pc Config, err error) {
diff --git a/config/privacy/privacyConfig_test.go b/config/privacy/privacyConfig_test.go
index 112e45988..7e736ce96 100644
--- a/config/privacy/privacyConfig_test.go
+++ b/config/privacy/privacyConfig_test.go
@@ -70,7 +70,6 @@ simple = true
assert.True(pc.YouTube.PrivacyEnhanced)
assert.True(pc.YouTube.Disable)
- assert.True(pc.YouTube.Simple)
}
func TestDecodeConfigFromTOMLCaseInsensitive(t *testing.T) {