Skip to content

Commit 5c97032

Browse files
author
Catalin Ioana
authored
Merge pull request #385 from pycom/youtube_div
Youtube format div-layout
2 parents 58a5667 + 438d3ed commit 5c97032

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

layouts/shortcodes/youtube.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<div class="responsive-embed widescreen">
2+
<div class="embed video-player">
3+
<iframe class="youtube-player" type="text/html" width="640" height="385"
4+
src="https://www.youtube.com/embed/{{ index .Params 0 }}" start="{{ index .Params 1 }}" allowfullscreen frameborder="0">
5+
</iframe>
6+
</div>
7+
</div>

0 commit comments

Comments
 (0)