Add support for Peertube links

This commit is contained in:
Thomas A. Christensen II 2023-02-01 20:04:55 -06:00
parent 088fc929b1
commit f81ef022d5
Signed by: millironx
GPG key ID: 09335146883990B9

View file

@ -12,6 +12,9 @@
{{ if eq .Params.storage "lbry" }} {{ if eq .Params.storage "lbry" }}
{{ .Scratch.Set "embedLink" (print "https://odysee.com/$/embed/" .Params.storageId) }} {{ .Scratch.Set "embedLink" (print "https://odysee.com/$/embed/" .Params.storageId) }}
{{ end }} {{ end }}
{{ if eq .Params.storage "peertube" }}
{{ .Scratch.Set "embedLink" (print "https://video.millironx.com/videos/embed/" .Params.storageId) }}
{{ end }}
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">
<div class="ratio ratio-16x9"> <div class="ratio ratio-16x9">