no spaces in youtube eg

This commit is contained in:
Heydon Pickering 2017-07-14 14:30:01 +01:00
parent a865659d77
commit 07fe70751f
3 changed files with 3 additions and 3 deletions

View File

@ -5,5 +5,5 @@ title = "Including videos"
**Infusion** has a lot of its own shortcodes, but you can still use Hugo's [built in shortcodes](https://gohugo.io/extras/shortcodes#built-in-shortcodes). These include a simple shortcode for including YouTube videos in your content. The shortcode takes just one parameter — the video's `id`.
{{<codeBlock>}}
&#x7b;{< youtube w7Ft2ymGmfc >}}
&#x7b;{<youtube w7Ft2ymGmfc>}}
{{</codeBlock>}}

View File

@ -256,7 +256,7 @@
<p><strong>Infusion</strong> has a lot of its own shortcodes, but you can still use Hugo&rsquo;s <a href="https://gohugo.io/extras/shortcodes#built-in-shortcodes">built in shortcodes</a>. These include a simple shortcode for including YouTube videos in your content. The shortcode takes just one parameter — the video&rsquo;s <code>id</code>.</p>
<pre class=" "><code data-codeblock-shortcode>
&#x7b;{< youtube w7Ft2ymGmfc >}}
&#x7b;{<youtube w7Ft2ymGmfc>}}
</code></pre>

File diff suppressed because one or more lines are too long