diff options
author | Chip Senkbeil <chip.senkbeil@gmail.com> | 2015-09-03 06:21:40 +0300 |
---|---|---|
committer | Chip Senkbeil <chip.senkbeil@gmail.com> | 2015-09-03 06:21:40 +0300 |
commit | cab0fa719d615a973d859eef39223e5d2b9876d6 (patch) | |
tree | 686470f57358510a18e3409fd822a4d4919977ec | |
parent | e05c3af1a92e106015db067d923da3477357b632 (diff) |
Added youtube shortcode from Hugo documentation
-rw-r--r-- | layouts/shortcodes/youtube.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/shortcodes/youtube.html b/layouts/shortcodes/youtube.html new file mode 100644 index 0000000..f8dba4a --- /dev/null +++ b/layouts/shortcodes/youtube.html @@ -0,0 +1,10 @@ +<div class="embed video-player"> + <iframe class="youtube-player" + type="text/html" + width="640" + height="385" + src="http://www.youtube.com/embed/{{ index .Params 0 }}" + allowfullscreen + frameborder="0"> + </iframe> +</div> |