diff --git a/html/channel.ejs b/html/channel.ejs index dfeeecd7..0c67cb7c 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -548,7 +548,14 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=< <% if (!tab) { %> Videos - + <% if (Array.isArray(shorts.videos)) { %> + + Shorts + <% } %> + <% if (Array.isArray(stream.videos)) { %> + + Live + <% } %> <% if (Array.isArray(c.comments)) { %> <% if (c.comments.length != "0") { %> @@ -563,6 +570,15 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=< <% if (tab === "about") { %> Videos + <% if (Array.isArray(shorts.videos)) { %> + + Shorts + <% } %> + + <% if (Array.isArray(stream.videos)) { %> + + Live + <% } %> <% if (Array.isArray(c.comments)) { %> <% if (c.comments.length != "0") { %> @@ -577,14 +593,68 @@ white-space: nowrap;text-decoration: none;" href="/feeds/videos.xml?channel_id=< <% if (tab === "community") { %> Videos - + <% if (Array.isArray(shorts.videos)) { %> + + Shorts + <% } %> + <% if (Array.isArray(stream.videos)) { %> + + Live + <% } %> + Community About <% } %> + <% if (tab === "shorts") { %> + + Videos + <% if (Array.isArray(shorts.videos)) { %> + + Shorts + <% } %> + <% if (Array.isArray(stream.videos)) { %> + + Live + <% } %> + + <% if (Array.isArray(c.comments)) { %> + + <% if (c.comments.length != "0") { %> + + Community + <% } %> + <% } %> + + About + <% } %> + + <% if (tab === "live") { %> + + Videos + <% if (Array.isArray(shorts.videos)) { %> + + Shorts + <% } %> + <% if (Array.isArray(stream.videos)) { %> + + Live + <% } %> + + <% if (Array.isArray(c.comments)) { %> + + <% if (c.comments.length != "0") { %> + + Community + <% } %> + <% } %> + + About + <% } %> + <% } %> @@ -758,6 +828,128 @@ width: fit-content; <% } %> + <% if (tab === "shorts") { %> + + + +