aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWim Vanderbauwhede <Wim.Vanderbauwhede@mail.be>2018-03-13 09:37:55 +0000
committerWim Vanderbauwhede <Wim.Vanderbauwhede@mail.be>2018-03-13 09:37:55 +0000
commit36f615135f1bf4f3dd4917489fe5cef706f4b324 (patch)
tree560105c20ce7770abc3fee00b22d3f891b019b75 /lib
parent30d65639c1bea2471752ed9c142ada63437f6d09 (diff)
downloadpleroma-36f615135f1bf4f3dd4917489fe5cef706f4b324.tar.gz
A small patch to show the instance name and favicon in the browser title
bar.
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex4
1 files changed, 4 insertions, 0 deletions
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 @@
<!DOCTYPE html>
<html lang='en'>
<head>
+ <title>
+ <%= Application.get_env(:pleroma, :instance)[:name] %>
+ </title>
<meta charset='utf-8'>
<meta content='width=device-width, initial-scale=1' name='viewport'>
+<link rel="icon" type="image/png" href="/static/favicon.png"/>
<link rel="stylesheet" media="all" href="/packs/common.css" />
<link rel="stylesheet" media="all" href="/packs/default.css" />
<link rel="stylesheet" media="all" href="/packs/pl-dark-masto-fe.css" />