From 8825d224928cc3f39c460452545efbaa80d4d28c Mon Sep 17 00:00:00 2001 From: Ashley Date: Wed, 13 Sep 2023 20:12:39 +0000 Subject: [PATCH] add connections to mobile :3 --- html/poketube.ejs | 71 +++++++++++++++++++++++++---------------------- 1 file changed, 38 insertions(+), 33 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index 35680020..942e3a15 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -2172,55 +2172,60 @@ font-size: 13px;margin:0;padding:0;white-space: nowrap;

- <%-String(linkify(inv_vid.description)).replace(/\n/g, "
").replace(/twitter\.com/g, "nitter.net").replace(/reddit\.com/g, "teddit.net") %> + <%-String(channelurlfixer(inv_vid.descriptionHtml)).replace(/\n/g, "
").replace(/twitter\.com/g, "nitter.net").replace(/reddit\.com/g, "teddit.net") %> -
-More info about the video +Connections
-
- - <% if (wiki.extract_html) { %> -
From da web
- -
- - <%-wiki.extract_html%> - -

- - From wikipedia under CC-BY-SA 3.0 -

- - - <% } %> - <% if (!wiki.extract_html) { %> - <% if (desc) { %> - -
About This Channel
- -
- -

<%-desc%>

- - - <% } %> <% } %> +
+
+ <% if (twitter) { %> + + + <% } %> + + <% if (discord) { %> + + <% } %> + + + <% if (twitch) { %> + + <% } %> + + + <% if (reddit) { %> + + <% } %> + + <% if (instagram) { %> + + <% } %> +
-
- <% if (Array.isArray(video?.Tags?.Tag)) { %> + <% if (Array.isArray(video?.Tags?.Tag)) { %>
Tags