File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1
1
---
2
- import Favicon from " ../assets/favicon.svg" ;
3
-
4
2
import Footer from " ../components/Footer.astro" ;
5
3
import GlobalStyles from " ../components/GlobalStyles.astro" ;
6
4
import Header from " ../components/Header.astro" ;
@@ -44,7 +42,11 @@ const pageTitle =
44
42
<meta charset =" UTF-8" />
45
43
<meta name =" description" content =" Astro description" />
46
44
<meta name =" viewport" content =" width=device-width" />
47
- <link rel =" icon" type =" image/svg+xml" href ={ concatWithBase (Favicon .src )} />
45
+ <link
46
+ rel =" icon"
47
+ type =" image/svg+xml"
48
+ href ={ new URL (concatWithBase (" favicon.svg" ), Astro .url )}
49
+ />
48
50
<meta name =" generator" content ={ Astro .generator } />
49
51
<title >{ pageTitle } </title >
50
52
Original file line number Diff line number Diff line change 1
1
---
2
2
import " @fontsource/barlow/700.css" ;
3
3
import { Image } from " astro:assets" ;
4
- import Favicon from " ../assets/favicon.svg" ;
5
4
import Gopher from " ../assets/page-header-gopher.png" ;
6
5
7
6
import Footer from " ../components/Footer.astro" ;
@@ -162,7 +161,11 @@ const pageTitle =
162
161
<meta charset =" UTF-8" />
163
162
<meta name =" description" content =" Astro description" />
164
163
<meta name =" viewport" content =" width=device-width" />
165
- <link rel =" icon" type =" image/svg+xml" href ={ concatWithBase (Favicon .src )} />
164
+ <link
165
+ rel =" icon"
166
+ type =" image/svg+xml"
167
+ href ={ new URL (concatWithBase (" favicon.svg" ), Astro .url )}
168
+ />
166
169
<meta name =" generator" content ={ Astro .generator } />
167
170
<title >{ pageTitle } </title >
168
171
You can’t perform that action at this time.
0 commit comments