mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
fix favicon
favicon.ico is a bit buggy it can't show in Aseprite and as Firefox bookmark icon i changed it to png and it worked
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
@@ -12,7 +12,7 @@
|
||||
{{ end -}}
|
||||
<title>{{ title }}</title>
|
||||
|
||||
<link href="/favicon.ico" rel="icon" />
|
||||
<link href="/img/favicon.png" rel="icon" />
|
||||
<link href="/css/style.css" rel="stylesheet" />
|
||||
|
||||
<meta name="htmx-config" content='{"includeIndicatorStyles":false}'>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
@@ -31,7 +31,6 @@ func DefineRoutes() *mux.Router {
|
||||
http.Redirect(w, r, url.String(), http.StatusPermanentRedirect)
|
||||
})
|
||||
|
||||
router.HandleFunc("/favicon.ico", serveFile("./assets/img/favicon.ico"))
|
||||
router.HandleFunc("/robots.txt", serveFile("./assets/robots.txt"))
|
||||
handlePrefix(router, "/img/", http.FileServer(http.Dir("./assets/img")))
|
||||
handlePrefix(router, "/css/", http.FileServer(http.Dir("./assets/css")))
|
||||
|
||||
+1
-1
@@ -52,7 +52,7 @@ theme:
|
||||
icon:
|
||||
logo: simple/pixiv
|
||||
repo: simple/codeberg
|
||||
favicon: favicon.ico
|
||||
favicon: favicon.png
|
||||
features:
|
||||
# -- Navigation
|
||||
# Instant loading
|
||||
|
||||
Reference in New Issue
Block a user