Browse Source

Moved the favicon link out of the CSS loop.

default 1 year ago
parent
commit
d839654ccb
1 changed files with 6 additions and 5 deletions
  1. 6 5
      html.c

+ 6 - 5
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;
 }