12 lines
285 B
HTML
12 lines
285 B
HTML
|
{{ if .Get "href"}}
|
||
|
<a href='{{.Get "href"}}'>
|
||
|
{{end}}
|
||
|
<video autoplay muted loop preload="true">
|
||
|
{{if .Get 0}}<source src='{{.Site.BaseURL}}{{.Get 0 }}'>{{end}}
|
||
|
{{if .Get "src"}}<source src='{{.Site.BaseURL}}{{.Get "src" }}'>{{end}}
|
||
|
</video>
|
||
|
{{ if .Get "href"}}
|
||
|
</a>
|
||
|
{{end}}
|
||
|
|