summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2024-01-28 11:18:14 +0100
committerGravatar default2024-01-28 11:18:14 +0100
commitd839654ccbea5c9d9f9b01d9669a48bf6e42b56f (patch)
tree85cbcc059bae7bb362140bf2e9c35bcc7ea650a3
parentMerge pull request 'feature(favicon): Add favicon support (#107)' (#109) from... (diff)
downloadsnac2-d839654ccbea5c9d9f9b01d9669a48bf6e42b56f.tar.gz
snac2-d839654ccbea5c9d9f9b01d9669a48bf6e42b56f.tar.xz
snac2-d839654ccbea5c9d9f9b01d9669a48bf6e42b56f.zip
Moved the favicon link out of the CSS loop.
-rw-r--r--html.c11
1 files 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)
438 xs_html_attr("rel", "stylesheet"), 438 xs_html_attr("rel", "stylesheet"),
439 xs_html_attr("type", "text/css"), 439 xs_html_attr("type", "text/css"),
440 xs_html_attr("href", v))); 440 xs_html_attr("href", v)));
441 xs_html_add(head,
442 xs_html_sctag("link",
443 xs_html_attr("rel", "icon"),
444 xs_html_attr("type", "image/x-icon"),
445 xs_html_attr("href", f)));
446 } 441 }
447 442
443 xs_html_add(head,
444 xs_html_sctag("link",
445 xs_html_attr("rel", "icon"),
446 xs_html_attr("type", "image/x-icon"),
447 xs_html_attr("href", f)));
448
448 return head; 449 return head;
449} 450}
450 451