initial commit
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{{- if eq (path.Ext .Destination) ".mp4" -}}
|
||||
<div><video src='{{ .Destination | safeURL }}' alt='{{ .Text }}' title='{{ .Text }}' controls preload="metadata" playsinline></video></div>
|
||||
{{- else -}}
|
||||
<div><img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" title="{{ .Text }}"></div>
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user