Update MetaTags.astro

I have only added the use of the getAssets function to convert the url to absolute

note: Maybe the name of that function (getAssets) could improve
This commit is contained in:
prototypa
2023-05-03 14:53:34 -04:00
committed by GitHub
parent 36153011dc
commit cc5676b4ad

View File

@ -95,4 +95,4 @@ const image =
<link rel="shortcut icon" href={getAsset('/favicon.ico')} /> <link rel="shortcut icon" href={getAsset('/favicon.ico')} />
<link rel="icon" type="image/svg+xml" href={getAsset('/favicon.svg')} /> <link rel="icon" type="image/svg+xml" href={getAsset('/favicon.svg')} />
<link rel="mask-icon" href={getAsset('/favicon.svg')} color="#8D46E7" /> <link rel="mask-icon" href={getAsset('/favicon.svg')} color="#8D46E7" />
<link rel="sitemap" href="/sitemap-index.xml"/> <link rel="sitemap" href={getAsset('/sitemap-index.xml')} />