feat: Adds favicon.ico
This commit is contained in:
BIN
Public/images/favicon.ico
Executable file
BIN
Public/images/favicon.ico
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
@@ -26,6 +26,7 @@ struct MainPage<Inner: HTML>: SendableHTMLDocument where Inner: Sendable {
|
|||||||
script(.src("https://unpkg.com/htmx.org@2.0.4")) {}
|
script(.src("https://unpkg.com/htmx.org@2.0.4")) {}
|
||||||
script(.src("/js/main.js")) {}
|
script(.src("/js/main.js")) {}
|
||||||
link(.rel(.stylesheet), .href("/css/main.css"))
|
link(.rel(.stylesheet), .href("/css/main.css"))
|
||||||
|
link(.rel(.icon), .href("/images/favicon.ico"), .custom(name: "type", value: "image/x-icon"))
|
||||||
}
|
}
|
||||||
|
|
||||||
var body: some HTML {
|
var body: some HTML {
|
||||||
|
|||||||
Reference in New Issue
Block a user