fix home page title

This commit is contained in:
shibao 2022-11-26 14:53:35 -05:00
parent 264f13e523
commit ca5b29c914
2 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@ defmodule MemexWeb.HomeLive do
@impl true
def mount(_params, _session, socket) do
admins = Accounts.list_users_by_role(:admin)
{:ok, socket |> assign(page_title: gettext("Home"), query: "", results: %{}, admins: admins)}
{:ok, socket |> assign(page_title: gettext("home"), query: "", results: %{}, admins: admins)}
end
@impl true

View File

@ -30,11 +30,6 @@ msgstr ""
msgid "Forgot your password?"
msgstr ""
#: lib/memex_web/live/home_live.ex:12
#, elixir-autogen, elixir-format
msgid "Home"
msgstr ""
#: lib/memex_web/templates/user_session/new.html.heex:27
#, elixir-autogen, elixir-format
msgid "Keep me logged in for 60 days"
@ -483,3 +478,8 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "%{slug} could not be found"
msgstr ""
#: lib/memex_web/live/home_live.ex:12
#, elixir-autogen, elixir-format
msgid "home"
msgstr ""