diff options
Diffstat (limited to 'content/video-streaming-sites/overview-embed-youtube.md')
| -rw-r--r-- | content/video-streaming-sites/overview-embed-youtube.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/content/video-streaming-sites/overview-embed-youtube.md b/content/video-streaming-sites/overview-embed-youtube.md index 86a83b9..183b744 100644 --- a/content/video-streaming-sites/overview-embed-youtube.md +++ b/content/video-streaming-sites/overview-embed-youtube.md @@ -24,9 +24,11 @@ Zola has many shortcodes, and new are easily added, this example shows youtube. ### Usage +{% raw %} ```rs -{{/* youtube(id="32gyFIWecuw") */}} +{{<youtube id="32gyFIWecuw" />}} ``` +{% endraw %} - `id` - the video id (mandatory) - `playlist` - the playlist id (optional) @@ -38,7 +40,7 @@ Zola has many shortcodes, and new are easily added, this example shows youtube. ### Output ```html -{{ youtube(id="32gyFIWecuw") }} +{{<youtube id="32gyFIWecuw" />}} ``` -{{ youtube(id="32gyFIWecuw") }} +{{<youtube id="32gyFIWecuw" />}} |
