mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-20 09:46:01 -05:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user