chore: auto deploy 2026-01-22 16:36:41

This commit is contained in:
taimafanl
2026-01-22 16:36:41 +08:00
parent c84586a1bc
commit 0b0157f8cb

View File

@@ -106,6 +106,11 @@ data.languages.forEach(lang => {
// 生成 sitemap.xml // 生成 sitemap.xml
const sitemap = `<?xml version="1.0" encoding="UTF-8"?> const sitemap = `<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>${data.siteConfig.domain}/</loc>
<lastmod>${new Date().toISOString().split('T')[0]}</lastmod>
<priority>1.00</priority>
</url>
${data.languages.map(lang => ` ${data.languages.map(lang => `
<url> <url>
<loc>${data.siteConfig.domain}${data.siteConfig.basePath}/${lang}/index.html</loc> <loc>${data.siteConfig.domain}${data.siteConfig.basePath}/${lang}/index.html</loc>