From ad2eacbfae65df1bda33400a910f5acfcce0b46e Mon Sep 17 00:00:00 2001 From: Ashley Date: Sun, 25 Sep 2022 19:25:35 +0200 Subject: [PATCH] continuation on channels! --- html/channel.ejs | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/html/channel.ejs b/html/channel.ejs index 267a4438..169a24f2 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -457,6 +457,8 @@
+ <% if (!continuation) { %> + <% tj.Channel.Contents.ItemSection.ItemSection.Video.forEach(x => { %>
<%- x.duration %>
@@ -466,7 +468,48 @@
<% }) %> -
<% } %> + <% } %> + <% if (continuation) { %> + + <% tj.Channel.Contents.Video.forEach(x => { %> + +
<%- x.duration %>
+
+ <%- x.Title %> + +
+
+ <% }) %> + <% } %> + + + + <% if (!continuation) { %> + + <% if (tj.Channel.Contents.ItemSection.ItemSection.Continuation) { %> + + +
+ Next Page + +
+ + <% } %> + <% } %> + <% if (continuation) { %> + + <% if (tj.Channel.Contents.Continuation) { %> + + +
+ Next Page + +
+ + <% } %> + <% } %> + + <% } %> <% if (tab === "about") { %>