diff --git a/html/channel.ejs b/html/channel.ejs index 8dc71c9..d3739e3 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -631,13 +631,17 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=< <% } %> <% } %> - <% if (Array.isArray(stream.videos)) { %> + <% if (Array.isArray(stream.videos)) { %> + <% if (stream.videos[0]) { %> + <% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %> Live <% } %> <% } %> - + + <% } %> + Community About @@ -812,15 +816,12 @@ width: fit-content;
<% if (!isMobile) { %>
- <% if (!sort) { %> + <% if (sort == "newest") { %> Recently Uploaded - + @@ -829,9 +830,10 @@ width: fit-content; <% } %> - <% if (sort) { %> + <% if (sort != "newest") { %> + Recently Uploaded @@ -840,6 +842,7 @@ width: fit-content; Popular + <% } %> <% } %>