Просмотр исходного кода

Moved the favicon link out of the CSS loop.

default 2 лет назад
Родитель
Сommit
d839654ccb
1 измененных файлов с 6 добавлено и 5 удалено
  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;
 }