From 631394d9a88846ee6330f79859e7b51e745d07f7 Mon Sep 17 00:00:00 2001 From: Gianmarco Gargiulo Date: Tue, 9 May 2023 10:57:25 +0200 Subject: [PATCH] Added the video redirect code from ytr.gianmarco.gg and changed a comment in the video embed shortcode --- static/ytr.html | 75 +++++++++++++++++++ .../layouts/shortcodes/video.html | 2 +- 2 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 static/ytr.html diff --git a/static/ytr.html b/static/ytr.html new file mode 100644 index 0000000..38693f7 --- /dev/null +++ b/static/ytr.html @@ -0,0 +1,75 @@ + + + + Video site chooser + + + + + + +

Where do you want to watch this video?

+ Piped (il.ax) + YouTube* + Odysee* + PeerTube +

* = not freedom and/or privacy respecting.

+ + + diff --git a/themes/hugo-casper3/layouts/shortcodes/video.html b/themes/hugo-casper3/layouts/shortcodes/video.html index b8db829..865ced1 100644 --- a/themes/hugo-casper3/layouts/shortcodes/video.html +++ b/themes/hugo-casper3/layouts/shortcodes/video.html @@ -5,4 +5,4 @@ - +