Move navbar search bar render check to templated

This commit is contained in:
syeopite
2021-04-17 05:18:58 -07:00
parent 65942cd46c
commit 5c0458a887
3 changed files with 4 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ class Invidious::Routes::Misc < Invidious::Routes::BaseRoute
env.redirect "/feed/popular"
end
else
templated "search_homepage"
templated "search_homepage", navbar_search: false
end
end