diff options
| author | Miguel Ojeda <ojeda@kernel.org> | 2022-01-28 13:17:01 +0100 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2022-01-28 13:42:48 +0100 |
| commit | 30685ed754d398934c62ec9fb9aba0344dcf81de (patch) | |
| tree | 92113e91ec62f41a72c6a14b0fe8a17e0ab4ed54 | |
| parent | 748cdda776c19593aaf5a3f51eb24179192607d2 (diff) | |
| download | rust-30685ed754d398934c62ec9fb9aba0344dcf81de.tar.gz rust-30685ed754d398934c62ec9fb9aba0344dcf81de.zip | |
doc: no `shortcut` in `rel="icon"`
According to https://html.spec.whatwg.org/multipage/links.html#rel-icon: > For historical reasons, the `icon` keyword may be preceded by > the keyword "`shortcut`". And to https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types: > **Warning:** The `shortcut` link type is often seen before `icon`, > but this link type is non-conforming, ignored and **web authors > must not use it anymore.** Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
| -rw-r--r-- | src/doc/favicon.inc | 2 | ||||
| -rw-r--r-- | src/doc/redirect.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/favicon.inc b/src/doc/favicon.inc index 8f881657bdc..9c330685209 100644 --- a/src/doc/favicon.inc +++ b/src/doc/favicon.inc @@ -1 +1 @@ -<link rel="shortcut icon" href="https://www.rust-lang.org/favicon.ico"> +<link rel="icon" href="https://www.rust-lang.org/favicon.ico"> diff --git a/src/doc/redirect.inc b/src/doc/redirect.inc index 33e3860c2a4..2fb44be0145 100644 --- a/src/doc/redirect.inc +++ b/src/doc/redirect.inc @@ -1,2 +1,2 @@ <meta name="robots" content="noindex,follow"> -<link rel="shortcut icon" href="https://www.rust-lang.org/favicon.ico"> +<link rel="icon" href="https://www.rust-lang.org/favicon.ico"> |
