add filepath shortcode and reorganize shortcodes
This commit is contained in:
9
layouts/shortcodes/embed/youtube.html
Normal file
9
layouts/shortcodes/embed/youtube.html
Normal file
@ -0,0 +1,9 @@
|
||||
<iframe
|
||||
class="embed-video"
|
||||
loading="lazy"
|
||||
src="https://www.youtube.com/embed/{{ .Get "id" }}"
|
||||
title="YouTube video player"
|
||||
frameborder="0"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
allowfullscreen
|
||||
></iframe>
|
Reference in New Issue
Block a user