Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAlexandros <onedrawingperday@users.noreply.github.com>2018-06-09 12:13:36 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-06-09 12:13:36 +0300
commit65deb72dc4c9299416cf2d9defddb96dba4101fd (patch)
tree77b302c85e7be1402570fc2c525b1939d0853f56 /config
parentdc4226a8b27e03e31068fc945daab885d3819d04 (diff)
tplimpl: Remove speakerdeck shortcode
Fixes #4830
Diffstat (limited to 'config')
-rw-r--r--config/privacy/privacyConfig.go6
-rw-r--r--config/privacy/privacyConfig_test.go3
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)