diff --git a/html/channel.ejs b/html/channel.ejs index 7e752663..96302b66 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -550,17 +550,25 @@ 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)) { %> @@ -653,6 +661,7 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=< Videos <% if (Array.isArray(shorts.videos)) { %> + <% if (turntomins(shorts.videos[0].lengthSeconds) != "aN:aN" ) { %> Shorts