diff options
author | Alexandros <onedrawingperday@users.noreply.github.com> | 2018-06-09 12:13:36 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-06-09 11:13:36 +0200 |
commit | 65deb72dc4c9299416cf2d9defddb96dba4101fd (patch) | |
tree | 77b302c85e7be1402570fc2c525b1939d0853f56 /tpl/tplimpl | |
parent | dc4226a8b27e03e31068fc945daab885d3819d04 (diff) |
tplimpl: Remove speakerdeck shortcode
Fixes #4830
Diffstat (limited to 'tpl/tplimpl')
-rw-r--r-- | tpl/tplimpl/embedded/templates.autogen.go | 4 | ||||
-rwxr-xr-x | tpl/tplimpl/embedded/templates/shortcodes/speakerdeck.html | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/tpl/tplimpl/embedded/templates.autogen.go b/tpl/tplimpl/embedded/templates.autogen.go index 44a330622..7226751b2 100644 --- a/tpl/tplimpl/embedded/templates.autogen.go +++ b/tpl/tplimpl/embedded/templates.autogen.go @@ -384,10 +384,6 @@ if (!doNotTrack) { {{ end }}`}, {`shortcodes/ref.html`, `{{ if len .Params | eq 2 }}{{ ref .Page (.Get 0) (.Get 1) }}{{ else }}{{ ref .Page (.Get 0) }}{{ end }}`}, {`shortcodes/relref.html`, `{{ if len .Params | eq 2 }}{{ relref .Page (.Get 0) (.Get 1) }}{{ else }}{{ relref .Page (.Get 0) }}{{ end }}`}, - {`shortcodes/speakerdeck.html`, `{{- $pc := .Page.Site.Config.Privacy.SpeakerDeck -}} -{{- if not $pc.Disable -}} -<script async class='speakerdeck-embed' data-id='{{ index .Params 0 }}' data-ratio='1.33333333333333' src='//speakerdeck.com/assets/embed.js'></script> -{{- end -}}`}, {`shortcodes/twitter.html`, `{{- $pc := .Page.Site.Config.Privacy.Twitter -}} {{- if not $pc.Disable -}} {{- if $pc.Simple -}} diff --git a/tpl/tplimpl/embedded/templates/shortcodes/speakerdeck.html b/tpl/tplimpl/embedded/templates/shortcodes/speakerdeck.html deleted file mode 100755 index 5a3ca2620..000000000 --- a/tpl/tplimpl/embedded/templates/shortcodes/speakerdeck.html +++ /dev/null @@ -1,4 +0,0 @@ -{{- $pc := .Page.Site.Config.Privacy.SpeakerDeck -}} -{{- if not $pc.Disable -}} -<script async class='speakerdeck-embed' data-id='{{ index .Params 0 }}' data-ratio='1.33333333333333' src='//speakerdeck.com/assets/embed.js'></script> -{{- end -}}
\ No newline at end of file |