summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/shortcodes/youtube.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/shortcodes/youtube.html')
-rw-r--r--themes/danix-xyz-hacker/layouts/shortcodes/youtube.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/danix-xyz-hacker/layouts/shortcodes/youtube.html b/themes/danix-xyz-hacker/layouts/shortcodes/youtube.html
new file mode 100644
index 0000000..80cbb93
--- /dev/null
+++ b/themes/danix-xyz-hacker/layouts/shortcodes/youtube.html
@@ -0,0 +1 @@
+<iframe class="w-full aspect-video my-6" src="https://www.youtube.com/embed/{{ .Get "id" }}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>