mirror of
https://github.com/JOYCEQL/magic-resume.git
synced 2026-07-03 14:07:11 +02:00
fix: sitemap.xml
This commit is contained in:
@@ -1,28 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>https://magicv.art</loc>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="https://magicv.art/zh"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="https://magicv.art/en"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="x-default"
|
||||
href="https://magicv.art"
|
||||
/>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://magicv.art/zh</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://magicv.art/en</loc>
|
||||
</url>
|
||||
</urlset>
|
||||
@@ -0,0 +1,18 @@
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
return [
|
||||
{
|
||||
url: "https://magicv.art/",
|
||||
lastModified: new Date(),
|
||||
},
|
||||
{
|
||||
url: "https://magicv.art/zh",
|
||||
lastModified: new Date(),
|
||||
},
|
||||
{
|
||||
url: "https://magicv.art/en",
|
||||
lastModified: new Date(),
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user