no spaces in youtube eg
This commit is contained in:
parent
a865659d77
commit
07fe70751f
|
@ -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>}}
|
||||
{{< youtube w7Ft2ymGmfc >}}
|
||||
{{<youtube w7Ft2ymGmfc>}}
|
||||
{{</codeBlock>}}
|
||||
|
|
|
@ -256,7 +256,7 @@
|
|||
<p><strong>Infusion</strong> has a lot of its own shortcodes, but you can still use Hugo’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’s <code>id</code>.</p>
|
||||
|
||||
<pre class=" "><code data-codeblock-shortcode>
|
||||
{{< youtube w7Ft2ymGmfc >}}
|
||||
{{<youtube w7Ft2ymGmfc>}}
|
||||
</code></pre>
|
||||
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user