mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Added three videos to documentation.
Created shortcode for YouTube videos and made the videos responsive in the stylesheet.
This commit is contained in:
4
docs/layouts/shortcodes/youtube.html
Normal file
4
docs/layouts/shortcodes/youtube.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<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>
|
Reference in New Issue
Block a user