diff --git a/html/channel.ejs b/html/channel.ejs index ede2f939..f8e33f4a 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -645,12 +645,17 @@ height: 100%; <% if (!isMobile) { %>
+ +<% if (j?.Channel?.Metadata?.Banners.Thumbnail) { %> + <% for (let i = 5; i >= 1; i--) { %> + <% if (j.Channel.Metadata.Banners.Thumbnail[i]?.['$t']) { %> + + <% break; %> + <% } %> + <% } %> +<% } %> - <% if (j?.Channel?.Metadata?.Banners.Thumbnail) { %> - - <% } %> -
" class="avatar"> " alt="Channel Avatar" style="border: 1px solid gray;border-radius: 50%;">