mirror of
https://github.com/iv-org/invidious.git
synced 2024-10-01 01:25:56 -04:00
Fix index err on chans w/o extern links
This commit is contained in:
parent
fbe9a0c0f2
commit
d91eff14d7
@ -1,7 +1,7 @@
|
||||
<% if channel.banner %>
|
||||
<div class="pure-g" id="channel-banner-container">
|
||||
<div class="pure-u-1" id="banner" style='background-image: url(/ggpht<%= URI.parse(channel.banner.not_nil!.gsub("=w1060-", "=w1280-")).request_target %>)'>
|
||||
<% if channel.links %>
|
||||
<% if !channel.links.empty? %>
|
||||
<div id="link-holder">
|
||||
<div id="link-widget-primary" class="link-widget-link">
|
||||
<a href="<%=channel.links[0][1]%>" title=<%=channel.links[0][0]%>>
|
||||
|
Loading…
Reference in New Issue
Block a user