From d839654ccbea5c9d9f9b01d9669a48bf6e42b56f Mon Sep 17 00:00:00 2001 From: default Date: Sun, 28 Jan 2024 11:18:14 +0100 Subject: [PATCH] Moved the favicon link out of the CSS loop. --- html.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/html.c b/html.c index 4edf720..de2c60e 100644 --- a/html.c +++ b/html.c @@ -438,13 +438,14 @@ static xs_html *html_base_head(void) xs_html_attr("rel", "stylesheet"), xs_html_attr("type", "text/css"), 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; }