1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-12-03 04:18:57 -05:00

disable Hugo aliases & move them to vercel.json

This commit is contained in:
2021-06-13 09:23:11 -04:00
parent f35bd7aac2
commit c02f3e7e9a
7 changed files with 9 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
<video
{{ with .Resources.GetMatch "thumb.*" }}poster="{{ .Permalink }}"{{ end }}
controls crossorigin playsinline preload="none">
controls playsinline>
{{ with .Resources.GetMatch "*.webm" }}<source src="{{ .Permalink }}" type="video/webm">{{ end }}
{{ with .Resources.GetMatch "*.mp4" }}<source src="{{ .Permalink }}" type="video/mp4">{{ end }}
{{ with .Resources.GetMatch "*.ogg" }}<source src="{{ .Permalink }}" type="video/ogg">{{ end }}