From bd5bbeb374ef00344a2eb4b755838d9c1467309b Mon Sep 17 00:00:00 2001 From: Ashley Date: Mon, 1 Jan 2024 17:02:02 +0000 Subject: [PATCH] add universe 2 --- html/poketube.ejs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/html/poketube.ejs b/html/poketube.ejs index 278eeae9..e338da4d 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -1548,10 +1548,10 @@ Recommended Videos -<% if (!f) { %><% k.Video.Recommendations?.Video?.forEach(x => { %>
<% if (!optout) { %><%- x.duration || "LIVE"%><% } %><% if (optout) { %><%- x.duration || "LIVE"%><% } %>
<% if (!optout) { %><%= x.Title %><% } %><% if (optout) { %><%= x.Title %><% } %>
<%=x.Channel.Name %>
<%= x.uploadedAt.replace("Streamed", "") %> • <%= convert(x.views) %> views
<% }) %><% } %> - - - <% if (f) { %> +<% if (!f) { %> +<% k.Video.Recommendations?.Video?.forEach(x => { %>
<% if (!optout) { %><%- x.duration || "LIVE"%><% } %><% if (optout) { %><%- x.duration || "LIVE"%><% } %>
<% if (!optout) { %><%= x.Title %><% } %><% if (optout) { %><%= x.Title %><% } %>
<%=x.Channel.Name %>
<% if (universe) { %><%= x.uploadedAt.replace(" Streamed ", " ") %>
<%= convert(x.views) %> views <% } %> <% if (!universe) { %><%= x.uploadedAt.replace(" Streamed ", " ") %> • <%= convert(x.views) %> views <% } %>
<% }) %><% } %> + + <% if (f) { %> <% tj.forEach(x => { %>