Moved the favicon link out of the CSS loop.

This commit is contained in:
default 2024-01-28 11:18:14 +01:00
parent 5c8992de0c
commit d839654ccb

11
html.c
View file

@ -438,13 +438,14 @@ static xs_html *html_base_head(void)
xs_html_attr("rel", "stylesheet"), xs_html_attr("rel", "stylesheet"),
xs_html_attr("type", "text/css"), xs_html_attr("type", "text/css"),
xs_html_attr("href", v))); xs_html_attr("href", v)));
xs_html_add(head,
xs_html_sctag("link",
xs_html_attr("rel", "icon"),
xs_html_attr("type", "image/x-icon"),
xs_html_attr("href", f)));
} }
xs_html_add(head,
xs_html_sctag("link",
xs_html_attr("rel", "icon"),
xs_html_attr("type", "image/x-icon"),
xs_html_attr("href", f)));
return head; return head;
} }