Added a "video" type for post preview

This commit is contained in:
Michael Romero 2019-09-05 01:03:35 -07:00
parent fdd332f7e1
commit b71c2754dc

View File

@ -22,6 +22,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>
{{ partial "post_meta.html" . }}