diff --git a/.gitignore b/.gitignore index 4b241bd..33c53d6 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,5 @@ sloane_sh-*.tar /.elixir_ls/ /priv/output/ + +.DS_Store diff --git a/assets/img/favicon-32x32.png b/assets/img/favicon-32x32.png new file mode 100644 index 0000000..a042457 Binary files /dev/null and b/assets/img/favicon-32x32.png differ diff --git a/lib/sloane_sh/build.ex b/lib/sloane_sh/build.ex index b5ad1ae..06b128d 100644 --- a/lib/sloane_sh/build.ex +++ b/lib/sloane_sh/build.ex @@ -10,6 +10,7 @@ defmodule SloaneSH.Build do ctx |> build_pages() |> build_posts() + |> copy_img() end def build_pages(%Context{} = ctx) do @@ -53,4 +54,9 @@ defmodule SloaneSH.Build do err -> Logger.error("Failed to build post #{post}: #{inspect(err)}") end end + + def copy_img(%Context{} = ctx) do + + ctx + end end diff --git a/priv/site/layouts/root.html.eex b/priv/site/layouts/root.html.eex index d6664bc..0355a68 100644 --- a/priv/site/layouts/root.html.eex +++ b/priv/site/layouts/root.html.eex @@ -3,6 +3,7 @@ + <%= prefix_title("sloane.sh", attrs[:page_title]) %>