Readd video on post-preview

This commit is contained in:
Mickael 2019-09-08 19:04:36 +02:00
commit 6b969c5e2d

View file

@ -9,6 +9,9 @@
{{ if .Params.image }}
<img src="{{ .Params.image }}" alt="{{ .Title }}" class="img-title" />
{{ end }}
{{ if .Params.video }}
<video src="{{ .Params.video }}" loop autoplay muted playsinline class="img-title" />
{{ end }}
</a>
<p class="post-meta">