cupper-hugo-theme/content/patterns/media/including-videos.md
2017-07-17 15:21:46 +01:00

10 lines
399 B
Markdown

+++
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;{&lt;youtube w7Ft2ymGmfc>}}
{{</codeBlock>}}