Move feed_menu and default_home into user preferences

This commit is contained in:
Omar Roth
2019-10-20 20:42:18 -04:00
parent 2a04a48b89
commit 7524b5e349
11 changed files with 97 additions and 53 deletions

View File

@@ -1,7 +1,7 @@
<% content_for "header" do %>
<meta name="description" content="<%= translate(locale, "An alternative front-end to YouTube") %>">
<title>
<% if config.default_home != "Trending" %>
<% if env.get("preferences").as(Preferences).default_home != "Trending" %>
<%= translate(locale, "Trending") %> - Invidious
<% else %>
Invidious