Browse Source

A small patch to show the instance name and favicon in the browser title

bar.
tags/v0.9.9
Wim Vanderbauwhede 6 years ago
parent
commit
36f615135f
2 changed files with 4 additions and 0 deletions
  1. +4
    -0
      lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex
  2. BIN
      priv/static/static/favicon.png

+ 4
- 0
lib/pleroma/web/templates/mastodon_api/mastodon/index.html.eex View File

@@ -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" />


BIN
priv/static/static/favicon.png View File

Before After
Width: 38  |  Height: 50  |  Size: 2.4KB

Loading…
Cancel
Save