cupper-hugo-theme/content/patterns/media/including-videos.md

10 lines
396 B
Markdown
Raw Normal View History

2017-07-12 16:20:00 +02:00
+++
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>}}
2017-07-14 15:30:01 +02:00
&#x7b;{<youtube w7Ft2ymGmfc>}}
2017-07-12 16:20:00 +02:00
{{</codeBlock>}}