diff options
author | Alexandros <[email protected]> | 2018-06-09 12:13:36 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-06-09 11:13:36 +0200 |
commit | 65deb72dc4c9299416cf2d9defddb96dba4101fd (patch) | |
tree | 77b302c85e7be1402570fc2c525b1939d0853f56 /config/privacy | |
parent | dc4226a8b27e03e31068fc945daab885d3819d04 (diff) | |
download | hugo-65deb72dc4c9299416cf2d9defddb96dba4101fd.tar.gz hugo-65deb72dc4c9299416cf2d9defddb96dba4101fd.zip |
tplimpl: Remove speakerdeck shortcode
Fixes #4830
Diffstat (limited to 'config/privacy')
-rw-r--r-- | config/privacy/privacyConfig.go | 6 | ||||
-rw-r--r-- | config/privacy/privacyConfig_test.go | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/config/privacy/privacyConfig.go b/config/privacy/privacyConfig.go index a058c3593..1eff528d5 100644 --- a/config/privacy/privacyConfig.go +++ b/config/privacy/privacyConfig.go @@ -30,7 +30,6 @@ type Config struct { Disqus Disqus GoogleAnalytics GoogleAnalytics Instagram Instagram - SpeakerDeck SpeakerDeck Twitter Twitter Vimeo Vimeo YouTube YouTube @@ -65,11 +64,6 @@ type Instagram struct { Simple bool } -// SpeakerDeck holds the privacy configuration settings related to the SpeakerDeck shortcode. -type SpeakerDeck struct { - Service `mapstructure:",squash"` -} - // Twitter holds the privacy configuration settingsrelated to the Twitter shortcode. type Twitter struct { Service `mapstructure:",squash"` diff --git a/config/privacy/privacyConfig_test.go b/config/privacy/privacyConfig_test.go index 8d9c9f14f..5ced6d9d9 100644 --- a/config/privacy/privacyConfig_test.go +++ b/config/privacy/privacyConfig_test.go @@ -39,8 +39,6 @@ useSessionStorage = true [privacy.instagram] disable = true simple = true -[privacy.speakerDeck] -disable = true [privacy.twitter] disable = true enableDNT = true @@ -67,7 +65,6 @@ simple = true assert.True(pc.GoogleAnalytics.UseSessionStorage) assert.True(pc.Instagram.Disable) assert.True(pc.Instagram.Simple) - assert.True(pc.SpeakerDeck.Disable) assert.True(pc.Twitter.Disable) assert.True(pc.Twitter.EnableDNT) assert.True(pc.Twitter.Simple) |