From 102f513da8cceac7c466399260c671a44f4d8af0 Mon Sep 17 00:00:00 2001 From: sloane <1699281+sloanelybutsurely@users.noreply.github.com> Date: Sat, 24 Feb 2024 09:04:35 -0500 Subject: [PATCH] add favicon --- .gitignore | 2 ++ assets/img/favicon-32x32.png | Bin 0 -> 889 bytes lib/sloane_sh/build.ex | 6 ++++++ priv/site/layouts/root.html.eex | 1 + 4 files changed, 9 insertions(+) create mode 100644 assets/img/favicon-32x32.png 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 0000000000000000000000000000000000000000..a04245735cde9029b83cf8fb72adbe44bc09cfff GIT binary patch literal 889 zcmV-<1BU#GP)HoC|D|4@j2Z zYPE8Ge*KD@X5;ZLEl?)TJ!M1wqAT{qycm#3v=ft`RU`_m`+S zS}54a7!<~Ukp6!lz(cKW+uhpcqJ>z(zHW~$Po+5rh-c_}8GZkABYs83ov2&hcpm$)mZxAu<49 z1u~OI!@{tmCUfO;cx;{2>hk|gkg(zmNtA|vX7gAE!=m>T2mVAUTUK~v4dChtxENx6 zRs;$`RC5F1as&c2{S^wivVv1JdcZ0AXQ+sFWyPQzGz~7%=cPI}DCf$YftG?7+z!8! zjD=ip6AoZbdIUZTE#&S^NFR123l-t`e#TUuEKEqLW|Ts#D&mALhku-YNJvhPaidvZ zy)2+7&_rHvFPG^Np~=)%`5+=-w09!!XK?8wo$k(&h$*t+a--F-xUw4#+kK6kLw`;L zkOk9j=nUtI?*~NRD_RkUHdX|_G@1=H(HwCC`fZ+KjavPdZf@TQ5oA1bQjk}lXs`H^ zP{8tv@ExX!c|oVbI*SN0iPab_`q#0%37b;4=x;$_j&<|~q*m-AwPJTx4=QO_>=eB= z0DfsbW`P{9%VaiONyL>@KscE82?y;Ht;$4THx*sdfut1hPsCLcaU;{mK^Tbx>!@$l z-%d4vv;rc9Df&$`jgM%F>SWHw59*jto7(n`q>Gm&AR@v(p+{I8BoWoANNMC_At~5+ z(o*$4UGgQv^MR#wTuFUE4se8C--3YG zX*L?kTo3^J1eNAy-G#j~a`0(=KrRWr4;B`HR;sm>&&kEe_JM2(GsXP{Ez%TSPL9Q8 P00000NkvXXu0mjf^p2b} literal 0 HcmV?d00001 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]) %>