Skip to content
Permalink
Browse files

Added a "video" type for post preview

  • Loading branch information...
Michael Romero
Michael Romero committed Sep 5, 2019
1 parent fdd332f commit b71c2754dc32bb8690fabe795c300a7432243191
Showing with 3 additions and 0 deletions.
  1. +3 −0 layouts/index.html
@@ -22,6 +22,9 @@ <h3 class="post-subtitle">
{{ 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" . }}

0 comments on commit b71c275

Please sign in to comment.
You can’t perform that action at this time.