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

github.com/halogenica/beautifulhugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Romero <michael.robert.romero@gmail.com>2019-09-21 20:57:49 +0300
committerMichael Romero <michael.robert.romero@gmail.com>2019-09-21 20:57:49 +0300
commite80f9a5551c6a05630cf7436748d3b87cfae349a (patch)
tree315094bfd13334997ae5d3cb5f1767fdec93cb77 /layouts
parent8e69671d5e51710974253bbf61b8f335fa139ca7 (diff)
Bugfix for video in post preview
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/post_preview.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/post_preview.html b/layouts/partials/post_preview.html
index cb5e619..0411585 100644
--- a/layouts/partials/post_preview.html
+++ b/layouts/partials/post_preview.html
@@ -10,7 +10,9 @@
<img src="{{ .Params.image }}" alt="{{ .Title }}" class="img-title" />
{{ end }}
{{ if .Params.video }}
- <video src="{{ .Params.video }}" loop autoplay muted playsinline class="img-title" />
+ <video loop autoplay muted playsinline class="img-title">
+ <source src="{{ .Params.video }}">
+ </video>
{{ end }}
</a>