mirror of
https://github.com/JOYCEQL/magic-resume.git
synced 2026-07-03 14:07:11 +02:00
fix: sitemap
This commit is contained in:
@@ -1,18 +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/en</loc>
|
||||
<xhtml:link rel="alternate" hreflang="en-US" href="https://magicv.art/en"/>
|
||||
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://magicv.art/zh"/>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>1.0</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://magicv.art/zh</loc>
|
||||
<xhtml:link rel="alternate" hreflang="en-US" href="https://magicv.art/en"/>
|
||||
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://magicv.art/zh"/>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>1.0</priority>
|
||||
</url>
|
||||
</urlset>
|
||||
@@ -0,0 +1,16 @@
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
return [
|
||||
{
|
||||
url: "https://magicv.art",
|
||||
lastModified: new Date(),
|
||||
alternates: {
|
||||
languages: {
|
||||
zh: "https://magicv.art/zh",
|
||||
en: "https://magicv.art/en",
|
||||
},
|
||||
},
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user