fix: Add favicon.ico link to prevent 404
- Add alternate icon link for favicon.ico - Add apple-touch-icon link - Browser automatically requests favicon.ico as fallback - This prevents 404 errors in console
This commit is contained in:
@@ -18,6 +18,8 @@ const { title, description, image } = Astro.props;
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<link rel="alternate icon" href="/favicon.ico" sizes="any" />
|
||||
<link rel="apple-touch-icon" href="/favicon.svg" />
|
||||
|
||||
<!-- Google Fonts: Kanit for Thai -->
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
|
||||
Reference in New Issue
Block a user