Add favicon

This commit is contained in:
Radhi Fadlillah 2018-02-26 13:43:17 +07:00
parent ecbaa9c4f4
commit 883474e031
9 changed files with 14 additions and 1 deletions

View file

@ -14,8 +14,8 @@ import (
"github.com/spf13/cobra"
"golang.org/x/crypto/bcrypt"
"html/template"
"mime"
"io"
"mime"
"net/http"
fp "path/filepath"
"strings"
@ -51,6 +51,7 @@ var (
router := httprouter.New()
router.GET("/js/*filepath", serveFiles)
router.GET("/res/*filepath", serveFiles)
router.GET("/css/*filepath", serveFiles)
router.GET("/webfonts/*filepath", serveFiles)

View file

@ -9,6 +9,10 @@
<link rel="stylesheet" href="/css/fontawesome.css">
<link rel="stylesheet" href="/css/ubuntu-mono.css">
<link rel="stylesheet" href="/css/source-sans-pro.css">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/res/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="/res/apple-touch-icon-152x152.png" />
<link rel="icon" type="image/png" href="/res/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/res/favicon-16x16.png" sizes="16x16" />
<title>{{.Title}} - Shiori - Bookmarks Manager</title>
</head>

View file

@ -11,6 +11,10 @@
<script src="/js/vue.js"></script>
<script src="/js/axios.js"></script>
<script src="/js/js-cookie.js"></script>
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/res/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="/res/apple-touch-icon-152x152.png" />
<link rel="icon" type="image/png" href="/res/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/res/favicon-16x16.png" sizes="16x16" />
<title>Shiori - Bookmarks Manager</title>
</head>

View file

@ -11,6 +11,10 @@
<script src="/js/vue.js"></script>
<script src="/js/axios.js"></script>
<script src="/js/js-cookie.js"></script>
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/res/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="/res/apple-touch-icon-152x152.png" />
<link rel="icon" type="image/png" href="/res/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/res/favicon-16x16.png" sizes="16x16" />
<title>Login - Shiori - Bookmarks Manager</title>
</head>

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
view/res/favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

BIN
view/res/favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
view/res/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB