diff options
Squashed 'website/themes/hugo-clarity/' content from commit 4969d5a
git-subtree-dir: website/themes/hugo-clarity
git-subtree-split: 4969d5a1fb2c358c00e2d7f6fc1e39024d7d2355
1 files changed, 4 insertions, 0 deletions
| -rw-r--r-- | layouts/shortcodes/video.html | 4 |
diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/video.html new file mode 100644 index 0000000..5f29d66 --- /dev/null +++ b/layouts/shortcodes/video.html @@ -0,0 +1,4 @@ +{{ $url := .Get 0 }} +<div class = 'video'> + <iframe src='https://www.youtube.com/embed/{{ $url }}?controls=1&rel=0'></iframe> +</div> |
