Fix missing navbar search bar

pull/1977/head
syeopite 4 years ago
parent 47dfd4e681
commit 716a845e92
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82

@ -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? %> <% if !env.get("preferences").as(Preferences).default_home.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…
Cancel
Save