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 /docs/content | |
parent | dc4226a8b27e03e31068fc945daab885d3819d04 (diff) |
tplimpl: Remove speakerdeck shortcode
Fixes #4830
Diffstat (limited to 'docs/content')
-rw-r--r-- | docs/content/en/about/hugo-and-gdpr.md | 4 | ||||
-rw-r--r-- | docs/content/en/content-management/shortcodes.md | 29 |
2 files changed, 0 insertions, 33 deletions
diff --git a/docs/content/en/about/hugo-and-gdpr.md b/docs/content/en/about/hugo-and-gdpr.md index 502061311..ef68d5690 100644 --- a/docs/content/en/about/hugo-and-gdpr.md +++ b/docs/content/en/about/hugo-and-gdpr.md @@ -46,8 +46,6 @@ useSessionStorage = false [privacy.instagram] disable = false simple = false -[privacy.speakerDeck] -disable = false [privacy.twitter] disable = false enableDNT = false @@ -71,8 +69,6 @@ disable = true disable = true [privacy.instagram] disable = true -[privacy.speakerDeck] -disable = true [privacy.twitter] disable = true [privacy.vimeo] diff --git a/docs/content/en/content-management/shortcodes.md b/docs/content/en/content-management/shortcodes.md index e56873312..edb7168cc 100644 --- a/docs/content/en/content-management/shortcodes.md +++ b/docs/content/en/content-management/shortcodes.md @@ -268,34 +268,6 @@ Assuming that standard Hugo pretty URLs are turned on. <a href="/about/#who:c28654c202e73453784cfd2c5ab356c0">Who</a> ``` -### `speakerdeck` - -To embed slides from [Speaker Deck][], click on "< /> Embed" (under Share right next to the template on Speaker Deck) and copy the URL: - -``` -<script async class="speakerdeck-embed" data-id="4e8126e72d853c0060001f97" data-ratio="1.33333333333333" src="//speakerdeck.com/assets/embed.js"></script> -``` - -#### `speakerdeck` Example Input - -Extract the value from the field `data-id` and pass it to the shortcode: - -{{< code file="speakerdeck-example-input.md" >}} -{{</* speakerdeck 4e8126e72d853c0060001f97 */>}} -{{< /code >}} - -#### `speakerdeck` Example Output - -{{< output file="speakerdeck-example-input.md" >}} -{{< speakerdeck 4e8126e72d853c0060001f97 >}} -{{< /output >}} - -#### `speakerdeck` Example Display - -For the preceding `speakerdeck` example, the following simulates the displayed experience for visitors to your website. Naturally, the final display will be contingent on your stylesheets and surrounding markup. - -{{< speakerdeck 4e8126e72d853c0060001f97 >}} - ### `tweet` You want to include a single tweet into your blog post? Everything you need is the URL of the tweet: @@ -418,7 +390,6 @@ To learn more about creating custom shortcodes, see the [shortcode template docu [sctemps]: /templates/shortcode-templates/ [scvars]: /variables/shortcodes/ [shortcode template documentation]: /templates/shortcode-templates/ -[Speaker Deck]: https://speakerdeck.com/ [templatessection]: /templates/ [Vimeo]: https://vimeo.com/ [YouTube Videos]: https://www.youtube.com/ |