mirror of
https://github.com/iv-org/invidious
synced 2024-11-28 05:53:28 +01:00
Handle nil type for default_homepage
This commit is contained in:
parent
fe879e6d94
commit
a8649f286c
@ -28,7 +28,7 @@
|
|||||||
<div class="pure-u-1 pure-u-md-2-24"></div>
|
<div class="pure-u-1 pure-u-md-2-24"></div>
|
||||||
<div class="pure-u-1 pure-u-md-20-24">
|
<div class="pure-u-1 pure-u-md-20-24">
|
||||||
<div class="pure-g navbar h-box">
|
<div class="pure-g navbar h-box">
|
||||||
<% if !env.get("preferences").as(Preferences).default_home.empty? || env.request.path != "/" %>
|
<% if !env.get("preferences").as(Preferences).default_home.to_s.empty? || env.request.path != "/" %>
|
||||||
<div class="pure-u-1 pure-u-md-4-24">
|
<div class="pure-u-1 pure-u-md-4-24">
|
||||||
<a href="/" class="index-link pure-menu-heading">Invidious</a>
|
<a href="/" class="index-link pure-menu-heading">Invidious</a>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user