mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Fix index err on chans w/o extern links
This commit is contained in:
parent
e485bc2ef3
commit
a70839b63f
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<% if channel.banner %>
|
<% if channel.banner %>
|
||||||
<div class="pure-g" id="channel-banner-container">
|
<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 %>)'>
|
<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-holder">
|
||||||
<div id="link-widget-primary" class="link-widget-link">
|
<div id="link-widget-primary" class="link-widget-link">
|
||||||
<a href="<%=channel.links[0][1]%>" title=<%=channel.links[0][0]%>>
|
<a href="<%=channel.links[0][1]%>" title=<%=channel.links[0][0]%>>
|
||||||
|
|
Loading…
Reference in a new issue