Fix the missing favicon error
This commit is contained in:
parent
90a87af526
commit
8888825844
@ -12,6 +12,7 @@ func Head() h.ParentElement {
|
||||
e.Meta(a.Name("viewport"), a.Content("width=device-width, initial-scale=1")),
|
||||
e.Title()(h.Text("Peachy")),
|
||||
e.Link(a.Rel("stylesheet"), a.Href("/static/css/main.css")),
|
||||
e.Link(a.Rel("icon"), a.Href("static/favicon.ico")),
|
||||
e.Script(a.Src("/static/js/htmx-2.0.3.min.js"))(), // TODO change to pack it with the app
|
||||
)
|
||||
}
|
||||
|
BIN
desktop/static/favicon.ico
Normal file
BIN
desktop/static/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 933 B |
@ -1,16 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Hello World</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="icon" href="static/favicon.ico">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Hello World</h1>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user