valor/layouts/shortcodes/gif.html

12 lines
241 B
HTML
Raw Normal View History

2022-09-18 13:10:37 -04:00
{{ if .Get "href"}}
<a href='{{.Get "href"}}'>
{{end}}
2022-09-16 16:04:52 -04:00
<video autoplay muted loop preload="true">
2022-09-17 19:22:44 -04:00
<source src='{{.Site.BaseURL}}{{.Get "src" }}'>
<source src='{{.Site.BaseURL}}{{.Get 0 }}'>
2022-09-18 13:10:37 -04:00
</video>
{{ if .Get "href"}}
</a>
{{end}}