Skip to content

Commit 30685ed

Browse files
committed
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>
1 parent 748cdda commit 30685ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/doc/favicon.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<link rel="shortcut icon" href="https://www.rust-lang.org/favicon.ico">
1+
<link rel="icon" href="https://www.rust-lang.org/favicon.ico">

Diff for: src/doc/redirect.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<meta name="robots" content="noindex,follow">
2-
<link rel="shortcut icon" href="https://www.rust-lang.org/favicon.ico">
2+
<link rel="icon" href="https://www.rust-lang.org/favicon.ico">

0 commit comments

Comments
 (0)