From 36f615135f1bf4f3dd4917489fe5cef706f4b324 Mon Sep 17 00:00:00 2001 From: Wim Vanderbauwhede Date: Tue, 13 Mar 2018 09:37:55 +0000 Subject: [PATCH 1/2] A small patch to show the instance name and favicon in the browser title bar. --- .../web/templates/mastodon_api/mastodon/index.html.eex | 4 ++++ priv/static/static/favicon.png | Bin 0 -> 2411 bytes 2 files changed, 4 insertions(+) create mode 100644 priv/static/static/favicon.png diff --git a/lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex b/lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex index ac50ad46b..d6247c7d8 100644 --- a/lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex +++ b/lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex @@ -1,8 +1,12 @@ + + <%= Application.get_env(:pleroma, :instance)[:name] %> + + diff --git a/priv/static/static/favicon.png b/priv/static/static/favicon.png new file mode 100644 index 0000000000000000000000000000000000000000..f83d923bb9c5bef75045af0d799df8ff4e397c37 GIT binary patch literal 2411 zcmV-x36%DUP)D;o-tzze2>3}v zK~z}7y_tKkS5+0qKMStBBvc+(K@DG|ATJ3_6H_D=70g6bM8z3R$CMN$GarPOgXW_# z!gNrRf+lS+lVS3OFBC~lMU+y(N1;3}Xx@~Uz^6Z4KRf*V{Vo^K_RMd7=j^@D-s`N# z_q*0U!I#ifA_8>+unxFCA|B)a(bUp^E468b{xj4))q~aN)SXLX#d%+}FsLYL4xz4%(D(O}4;1gMn$lLqHGU8DMZk6sI=@o&ZJzHvq>2f61|h zz{%>ZWzTG}wwkI>q;}e+M($Tfs$&b+@;9k{iET~fGitqxZoP*2OgVd`S_diCgHFchBas7_IP zsw31{)qJ?BV^^D;<{7F!qBd7=P;XVASAUaE-#^Er!XAUvKNg-R|8G)zRTL_J9UBn% z4)urX$Lh?&_!Vjo^_bk?HT6cdNh2)LTs>Cpp#E0fwvu4Y(@|ShSm1jFbM?tUsL9YD zt6r_nQWvU+Hqt$&sN1R!s)uBt^em0n03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|<2>m%aL(nl_! zlX_%f>Vrx612Vy!1H8I98r&?wQlp)Lg#|yl2-pTVKj*9iUI89Wj;&A5tlOM#N1Lm$ zKEUa~qTHklFgOoP-pZ7_)ZY_$8t9ls&U0V(cgk+*HyzbKsV`^$-Faj%K;0(&>ghao d`swEG^ItA@2-;)yRA~SJ002ovPDHLkV1i+s literal 0 HcmV?d00001 From 2b2fa94e9445185060ce1704a67b0f8e43e9ef2d Mon Sep 17 00:00:00 2001 From: lain Date: Tue, 13 Mar 2018 14:58:49 +0100 Subject: [PATCH 2/2] Move stuff around. --- .../web/templates/mastodon_api/mastodon/index.html.eex | 8 ++++---- priv/static/{static => }/favicon.png | Bin 2 files changed, 4 insertions(+), 4 deletions(-) rename priv/static/{static => }/favicon.png (100%) diff --git a/lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex b/lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex index d6247c7d8..f96b15d64 100644 --- a/lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex +++ b/lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex @@ -1,12 +1,12 @@ - - <%= Application.get_env(:pleroma, :instance)[:name] %> - + +<%= Application.get_env(:pleroma, :instance)[:name] %> + - + diff --git a/priv/static/static/favicon.png b/priv/static/favicon.png similarity index 100% rename from priv/static/static/favicon.png rename to priv/static/favicon.png