diff options
| author | pantsucat <contact@pantsu.cat> | 2015-09-15 12:19:42 +0200 |
|---|---|---|
| committer | pantsucat <contact@pantsu.cat> | 2015-09-15 12:28:17 +0200 |
| commit | f320418ed83107dc149fb32e4f70724d877c9168 (patch) | |
| tree | c628afdb5deb79f8a2135f512f67a590421e8dd7 /pages/layout.swig | |
| parent | e4ebbd9f8778a5858736d8b016ae314a8ffc8fd0 (diff) | |
Remove rel=shortcut from favicon <link>
If the shortcut value is omitted from the rel attribute, Internet
Explorer ≤ 8 ignores the declaration entirely, searches for a file
called favicon.ico in the site root, and uses that instead. In fact,
almost every browser does that when there’s no link rel="icon"
specified. Using rel="icon shortcut" won’t work in IE either, since it
doesn’t treat the rel attribute as a space-separated list.
[1] https://mathiasbynens.be/notes/rel-shortcut-icon
Diffstat (limited to 'pages/layout.swig')
| -rw-r--r-- | pages/layout.swig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/layout.swig b/pages/layout.swig index 30704da..7daaf0b 100644 --- a/pages/layout.swig +++ b/pages/layout.swig @@ -2,9 +2,9 @@ <html lang="en"> <head> <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> + <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Pantsu.cat · {% block title %}Kawaii File Hosting{% endblock %}</title> - <link rel="shortcut icon" href=favicon.ico type="image/x-icon"> + <link rel="icon" href="favicon.ico"> <link rel="stylesheet" href="pomf.min.css"> </head> <body> |
