Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/huyb1991/hugo-lamp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/amp-youtube.html')
-rw-r--r--layouts/shortcodes/amp-youtube.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/shortcodes/amp-youtube.html b/layouts/shortcodes/amp-youtube.html
new file mode 100644
index 0000000..4d74c58
--- /dev/null
+++ b/layouts/shortcodes/amp-youtube.html
@@ -0,0 +1,5 @@
+<amp-youtube
+ {{ with .Get "id" }}data-videoid="{{ . }}"{{ end }}
+ layout="responsive"
+ width="480" height="270">
+</amp-youtube> \ No newline at end of file