From b7289c2e0e5b0f0292f84492472d0a99882c9497 Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 30 Nov 2023 11:36:04 +0000 Subject: [PATCH] remove comments compality --- html/poketube.ejs | 95 +++++++++++++++++++++++++++-------------------- 1 file changed, 55 insertions(+), 40 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index 7d9ce0ed..3c4f57e4 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -2060,7 +2060,7 @@ a {
<% if (lightOrDark(color) == "dark") { %> -
- <% let randomNumber = Math.floor(Math.random() * 2) + 1; %> - - <% if (Array.isArray( inv.comments)) { %> - -
- -
Comments - <%- convert(inv.commentCount) %> -
-
- - - -
- - -
- + +
+
+ <% if (twitter) { %> +
+ @<%- twitter.name %> +
+ + <% } %> + + <% if (discord) { %> +
+ /<%- discord.name %> +
+ <% } %> + + + <% if (twitch) { %> +
+ /<%- twitch.name %> +
+ <% } %> + + + <% if (reddit) { %> +
+ r/<%- reddit.name %> +
+ <% } %> + + <% if (instagram) { %> +
+ <%- instagram.name %> +
+ <% } %> + + <% if (!twitter) { %> + <% if (!discord) { %> + <% if (!reddit) { %> + <% if (!twitch) { %> + + <% if (!instagram) { %> +
+ Nyo connections found ;_; +
+ <% } %> + <% } %> + <% } %> - <% } %> - - -
+ <% } %> <% } %> +
+ +
@@ -2404,7 +2419,7 @@ the channels social media accounts!
<% if (twitter) { %>
- @<%- twitter.name %> + @<%- twitter.name %>
<% } %>