Updated GIF to work with links

main
Gabriel 2 years ago
parent f1e09e174d
commit f0d5d200f9

@ -1,4 +1,11 @@
{{ if .Get "href"}}
<a href='{{.Get "href"}}'>
{{end}}
<video autoplay muted loop preload="true"> <video autoplay muted loop preload="true">
<source src='{{.Site.BaseURL}}{{.Get "src" }}'> <source src='{{.Site.BaseURL}}{{.Get "src" }}'>
<source src='{{.Site.BaseURL}}{{.Get 0 }}'> <source src='{{.Site.BaseURL}}{{.Get 0 }}'>
</video> </video>
{{ if .Get "href"}}
</a>
{{end}}

@ -4,7 +4,7 @@
![](https://gabe.rocks/themes/valor//media/valor.png) ![](https://gabe.rocks/themes/valor//media/valor.png)
Check out the demo & documentation [here](https://gabe.rocks/themes/valor/) ### Check out the demo & documentation [here](https://gabe.rocks/themes/valor/)
### Why use these themes? ### Why use these themes?

Loading…
Cancel
Save