My space on the web https://inhji.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

11 lines
302 B

defmodule MirageWeb.PageLive do
use MirageWeb, :live_view
@impl true
def mount(_params, _session, socket) do
home_note = Mirage.Notes.get_note_by_title("@home")
settings = Mirage.Settings.list_settings_as_map()
{:ok, assign(socket, %{_s: settings, home_note: home_note})}
end
end