mirror of
https://github.com/go-shiori/shiori.git
synced 2025-01-16 21:09:44 +08:00
Add favicon
This commit is contained in:
parent
ecbaa9c4f4
commit
883474e031
9 changed files with 14 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
BIN
view/res/apple-touch-icon-144x144.png
Normal file
BIN
view/res/apple-touch-icon-144x144.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.5 KiB |
BIN
view/res/apple-touch-icon-152x152.png
Normal file
BIN
view/res/apple-touch-icon-152x152.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
BIN
view/res/favicon-16x16.png
Normal file
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
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
BIN
view/res/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.3 KiB |
Loading…
Reference in a new issue