From d8f95dd530f8f9ac5cbd3f0263d062681d3e823d Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Thu, 5 Dec 2024 11:09:16 -0600 Subject: [PATCH] fixup! refactor: Redirect videos to external PeerTube ref --- layouts/videos/single.html | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 layouts/videos/single.html diff --git a/layouts/videos/single.html b/layouts/videos/single.html deleted file mode 100644 index 4d0a619..0000000 --- a/layouts/videos/single.html +++ /dev/null @@ -1,32 +0,0 @@ -{{ define "main" }} -
-
- {{ if eq .Params.storage "yt" }} - {{ .Scratch.Set "embedLink" (print "https://www.youtube-nocookie.com/embed/" .Params.storageId) }} - {{ end }} - {{ if eq .Params.storage "vimeo" }} - {{ .Scratch.Set "embedLink" (print "https://player.vimeo.com/video/" .Params.storageId "?color=ffffff") }} - {{ end }} - {{ if eq .Params.storage "lbry" }} - {{ .Scratch.Set "embedLink" (print "https://odysee.com/$/embed/" .Params.storageId) }} - {{ end }} - {{ if eq .Params.storage "peertube" }} - {{ .Scratch.Set "embedLink" (print "https://video.millironx.com/videos/embed/" .Params.storageId) }} - {{ end }} -
-
-
- -
-
-
- - {{ .Content }} -
-
-{{ end }}