From 36f615135f1bf4f3dd4917489fe5cef706f4b324 Mon Sep 17 00:00:00 2001 From: Wim Vanderbauwhede Date: Tue, 13 Mar 2018 09:37:55 +0000 Subject: 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 000000000..f83d923bb Binary files /dev/null and b/priv/static/static/favicon.png differ -- cgit v1.2.3 From 2b2fa94e9445185060ce1704a67b0f8e43e9ef2d Mon Sep 17 00:00:00 2001 From: lain Date: Tue, 13 Mar 2018 14:58:49 +0100 Subject: Move stuff around. --- .../web/templates/mastodon_api/mastodon/index.html.eex | 8 ++++---- priv/static/favicon.png | Bin 0 -> 2411 bytes priv/static/static/favicon.png | Bin 2411 -> 0 bytes 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 priv/static/favicon.png delete 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 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/favicon.png b/priv/static/favicon.png new file mode 100644 index 000000000..f83d923bb Binary files /dev/null and b/priv/static/favicon.png differ diff --git a/priv/static/static/favicon.png b/priv/static/static/favicon.png deleted file mode 100644 index f83d923bb..000000000 Binary files a/priv/static/static/favicon.png and /dev/null differ -- cgit v1.2.3