mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
Remove youtube_simple for now
We need to revisit and complete that. See #4751
This commit is contained in:
@@ -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) {
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user