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

10 lines
397 B
Markdown
Raw Normal View History

2017-07-12 16:20:00 +02:00
+++
title = "Including videos"
+++
2017-11-02 16:37:06 +01:00
**Cupper** 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`.
2017-07-12 16:20:00 +02:00
{{<codeBlock>}}
2017-07-17 16:21:46 +02:00
&#x7b;{&lt;youtube w7Ft2ymGmfc>}}
2017-07-12 16:20:00 +02:00
{{</codeBlock>}}