mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-30 22:12:06 +00:00
06b1a88358
Created shortcode for YouTube videos and made the videos responsive in the stylesheet.
4 lines
212 B
HTML
4 lines
212 B
HTML
<div class="video-container">
|
|
<iframe class="youtube-player" type="text/html" width="100%" height="auto" src="http://www.youtube.com/embed/{{ index .Params 0 }}" allowfullscreen frameborder="0">
|
|
</iframe>
|
|
</div>
|