mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix index err on chans w/o extern links
This commit is contained in:
parent
fbe9a0c0f2
commit
d91eff14d7
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue