Skip to contentSkip to conversation

docs/website: fix favicon

Buildroot Peter Korsgaard 1 participant 1 message Nov 28, 2023

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=8ad1a2eaa5fa6c5eaa6614b007b968223e49448e
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

When the favicon image was added in f26e61319f3f (docs/website: add favicon.png), it was added to a different directory then where the header's icon link points. This causes the favicon to fail to load with 404.

While we are here, remove the "shortcut" rel attribute as it is non-standard and it's recommended not to use it[1].

[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel#sect4

---
 docs/website/header.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/website/header.html +1 -1
index e1909291f6..548ed7ad53 100644
@@ -6,7 +6,7 @@
 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 	<meta name="Buildroot" content="">
 	<meta name="[email protected]" content="">
-	<link rel="shortcut icon" href="images/favicon.png">
+	<link rel="icon" href="favicon.png">
 
 	<title>Buildroot - Making Embedded Linux Easy</title>
 

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot