add favicon to webpages (#2858)
Co-authored-by: TeejMcSteez <tjhall047@gmail.com> Co-authored-by: Kristoffer Dalby <kristoffer@dalby.cc>
This commit is contained in:
parent
1dcb04ce9b
commit
218a8db1b9
6 changed files with 42 additions and 7 deletions
|
|
@ -49,6 +49,10 @@ func HtmlStructure(head, body *elem.Element) *elem.Element {
|
|||
attrs.Name: "viewport",
|
||||
attrs.Content: "width=device-width, initial-scale=1.0",
|
||||
}),
|
||||
elem.Link(attrs.Props{
|
||||
attrs.Rel: "icon",
|
||||
attrs.Href: "/favicon.ico",
|
||||
}),
|
||||
head,
|
||||
),
|
||||
body,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue