File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
packages/visor/src/components Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,13 @@ const faviconSvg = await getImage({
58
58
src: siteFaviconSvg ,
59
59
format: ' svg' ,
60
60
});
61
+ const appleTouchIcon = await getImage ({
62
+ src: siteFaviconSvg ,
63
+ width: 180 ,
64
+ height: 180 ,
65
+ format: ' png'
66
+ })
67
+ // const faviconSvg = await getImage({ src: siteFaviconSvg, format: 'svg' })
61
68
62
69
const canonicalImageSrc = new URL (socialImage , Astro .site );
63
70
const sanitizedDescription = description .replace (/ (<([^ >] + )>)/ gi , ' ' );
@@ -78,8 +85,8 @@ const authorTwitterHandle = author.twitterHandle;
78
85
)
79
86
}
80
87
<!-- todo: Apple touch icon -->
81
- <!-- < link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> -- >
82
- <link rel =" icon" type =" image/svg+xml" href ={ siteFaviconSvg .src } />
88
+ <link rel =" apple-touch-icon" sizes =" 180x180" href ={ appleTouchIcon . src } / >
89
+ <link rel =" icon" type =" image/svg+xml" href ={ faviconSvg .src } />
83
90
<link rel =" icon" href =" /favicon.ico" sizes =" 32x32" />
84
91
85
92
<!-- todo: sitemap -->
@@ -89,7 +96,7 @@ const authorTwitterHandle = author.twitterHandle;
89
96
rel="alternate"
90
97
type="application/rss+xml"
91
98
href="/rss.xml"
92
- title="Leosvel's blog RSS Feed"
99
+ title="Blog RSS Feed"
93
100
/> -->
94
101
95
102
<!-- Primary Meta Tags -->
You can’t perform that action at this time.
0 commit comments