diff --git a/html/channel.ejs b/html/channel.ejs index c03d996a..a20a07ce 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -590,26 +590,33 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=< Videos <% if (Array.isArray(shorts.videos)) { %> +<% if (shorts.videos[0]) { %> <% if (turntomins(shorts.videos[0].lengthSeconds) != "aN:aN" ) { %> Shorts <% } %> + <% } %> + <% } %> <% if (Array.isArray(stream.videos)) { %> +<% if (stream.videos[0]) { %> <% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %> + Live <% } %> <% } %> + <% } %> <% if (Array.isArray(c.comments)) { %> <% if (c.comments.length != "0") { %> Community - <% } %> - <% } %> + <% } %> + + <% } %> About <% } %> @@ -644,11 +651,15 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=< Shorts <% } %> <% if (Array.isArray(stream.videos)) { %> + <% if (stream.videos[0]) { %> + <% if (turntomins(stream.videos[0].lengthSeconds) != "aN:aN" ) { %> Live <% } %> <% } %> + + <% } %> <% if (Array.isArray(c.comments)) { %> @@ -908,7 +919,7 @@ width: fit-content; <% if (shorts.continuation) { %>
<% } %> @@ -982,7 +993,7 @@ width: fit-content; <% if (stream.continuation) { %> <% } %>