From d4324aedb7da4d7d034268e66e8c4b2bac6f3e13 Mon Sep 17 00:00:00 2001 From: Ashley Date: Thu, 2 Feb 2023 19:11:47 +0000 Subject: [PATCH] CONTIUNUANTIONS ARE BACK BABY --- html/channel.ejs | 51 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 48 insertions(+), 3 deletions(-) diff --git a/html/channel.ejs b/html/channel.ejs index 0b2c37e..69202f1 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -73,7 +73,7 @@ @@ -511,6 +516,7 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=< <% if (!tab) { %> Videos + <% if (Array.isArray(c.comments)) { %> <% if (c.comments.length != "0") { %> @@ -653,15 +659,47 @@ width: fit-content;
<% if (!tab) { %> +
+ <% if (!isMobile) { %> +
+ <% if (!sort) { %> + + Recently Uploaded + + + + Popular + + <% } %> + + <% if (sort) { %> + + + Recently Uploaded + + + + Popular + + <% } %> + + + +
+ <% } %>
- <% if (Array.isArray( tj)) { %> + + + <% if (Array.isArray( tj.videos)) { %> - <% tj.forEach (x => { %> + <% tj.videos.forEach (x => { %>
<%- turntomins(x.lengthSeconds) %>
@@ -679,6 +717,13 @@ width: fit-content;
+ <% if (tj.continuation) { %> +
+ + <% } %> + <% } %> <% if (tab === "community") { %>