diff options
| author | 2024-01-28 11:18:14 +0100 | |
|---|---|---|
| committer | 2024-01-28 11:18:14 +0100 | |
| commit | d839654ccbea5c9d9f9b01d9669a48bf6e42b56f (patch) | |
| tree | 85cbcc059bae7bb362140bf2e9c35bcc7ea650a3 | |
| parent | Merge pull request 'feature(favicon): Add favicon support (#107)' (#109) from... (diff) | |
| download | snac2-d839654ccbea5c9d9f9b01d9669a48bf6e42b56f.tar.gz snac2-d839654ccbea5c9d9f9b01d9669a48bf6e42b56f.tar.xz snac2-d839654ccbea5c9d9f9b01d9669a48bf6e42b56f.zip | |
Moved the favicon link out of the CSS loop.
| -rw-r--r-- | html.c | 11 |
1 files changed, 6 insertions, 5 deletions
| @@ -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 | ||