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:
iacore
2024-08-28 22:21:50 +00:00
parent 625d9e7ee0
commit 8388b8d3c5
7 changed files with 2 additions and 3 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

+1 -1
View File
@@ -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}'>
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

-1
View File
@@ -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
View File
@@ -52,7 +52,7 @@ theme:
icon:
logo: simple/pixiv
repo: simple/codeberg
favicon: favicon.ico
favicon: favicon.png
features:
# -- Navigation
# Instant loading