aboutsummaryrefslogtreecommitdiff
path: root/generators/hugo/themes/tdro/layouts/shortcodes/video.html
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-05-17 22:56:00 -0400
committerThedro Neely <thedroneely@gmail.com>2019-05-17 22:56:00 -0400
commit51c0cc199f30e195eafbf04e6be09dd8b2561574 (patch)
treeeac3c7950a8855b3f38c1bb9d7744f5a60e2a4f8 /generators/hugo/themes/tdro/layouts/shortcodes/video.html
parent48e0d578c7f65e6a0ab8d293217983ba8bb21c00 (diff)
downloadthedroneely.com-51c0cc199f30e195eafbf04e6be09dd8b2561574.tar.gz
thedroneely.com-51c0cc199f30e195eafbf04e6be09dd8b2561574.tar.bz2
thedroneely.com-51c0cc199f30e195eafbf04e6be09dd8b2561574.zip
generators/hugo: Add Hugo theme source files
Diffstat (limited to 'generators/hugo/themes/tdro/layouts/shortcodes/video.html')
-rw-r--r--generators/hugo/themes/tdro/layouts/shortcodes/video.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/generators/hugo/themes/tdro/layouts/shortcodes/video.html b/generators/hugo/themes/tdro/layouts/shortcodes/video.html
new file mode 100644
index 0000000..9cf9b3a
--- /dev/null
+++ b/generators/hugo/themes/tdro/layouts/shortcodes/video.html
@@ -0,0 +1,6 @@
+<div class="video has-text-centered">
+ <video width="{{ .Get `width` }}" height="{{ .Get `height`}}" controls {{ .Get `options` | safeHTMLAttr }}>
+ <source src="{{ .Get `source` }}" type="video/mp4">
+ Your browser does not support the video tag.
+ </video>
+</div>