diff --git a/src/invidious/views/channel/featured_channels.ecr b/src/invidious/views/channel/featured_channels.ecr
index 6aeedc03..118fb48d 100644
--- a/src/invidious/views/channel/featured_channels.ecr
+++ b/src/invidious/views/channel/featured_channels.ecr
@@ -73,43 +73,43 @@
+
<% end %>
<% else %>
<%= translate(locale, "This channel doesn't feature any other channels.")%>
<% end %>
-
-
-
-
-
-
- <% if (next_cont_token = featured_channel_categories[0].continuation_token) %>
- <% additional_url_param = ""%>
- <% if continuation %>
- <% additional_url_param = "&previous=#{HTML.escape(continuation)}"%>
- <%end %>
- <% if !title %>
- <% title = featured_channel_categories[0].title %>
- <%end %>
+<% if !featured_channel_categories.empty? %>
+
+
+
+
+ <% if (next_cont_token = featured_channel_categories[0].continuation_token) %>
+ <% additional_url_param = ""%>
+ <% if continuation %>
+ <% additional_url_param = "&previous=#{HTML.escape(continuation)}"%>
+ <% end %>
+ <% if !title %>
+ <% title = featured_channel_categories[0].title %>
+ <% end %>
-
-
- <%= translate(locale, "Next page") %>
-
- <% end %>
+
+ <%= translate(locale, "Next page") %>
+
+ <% end %>
+
-
+<% end %>