mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2024-11-09 21:49:41 +00:00
Add youtube shortcode
This commit is contained in:
parent
1eb174479a
commit
6e888ed235
7
layouts/shortcodes/youtube.html
Normal file
7
layouts/shortcodes/youtube.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<iframe
|
||||
class="youtube-embed"
|
||||
src="https://www.youtube-nocookie.com/embed/{{ .Get 0 }}"
|
||||
frameborder="0"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
allowfullscreen
|
||||
></iframe>
|
Loading…
Reference in a new issue