cupper-hugo-theme/content/patterns/media/including-videos.md
2017-07-12 15:20:00 +01:00

10 lines
398 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;{< youtube w7Ft2ymGmfc >}}
{{</codeBlock>}}