Skip to content

Commit 2650a2d

Browse files
committed
丰富站点地图
1 parent 740752c commit 2650a2d

2 files changed

Lines changed: 51 additions & 8 deletions

File tree

aitemap.xml

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,55 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://www.endlesspixel.fun/</loc>
5-
<lastmod>2025-12-09</lastmod>
5+
<lastmod>2025-12-13</lastmod>
66
<changefreq>daily</changefreq>
77
<priority>1.0</priority>
88
</url>
99
<url>
1010
<loc>https://www.endlesspixel.fun/downloads/</loc>
11-
<lastmod>2025-12-09</lastmod>
11+
<lastmod>2025-12-13</lastmod>
1212
<changefreq>weekly</changefreq>
1313
<priority>0.8</priority>
1414
</url>
15+
<url>
16+
<loc>https://www.endlesspixel.fun/downloads/launcher/</loc>
17+
<lastmod>2025-12-13</lastmod>
18+
<changefreq>weekly</changefreq>
19+
<priority>0.8</priority>
20+
</url>
21+
<url>
22+
<loc>https://www.endlesspixel.fun/downloads/modpack/</loc>
23+
<lastmod>2025-12-13</lastmod>
24+
<changefreq>weekly</changefreq>
25+
<priority>0.8</priority>
26+
</url>
27+
<url>
28+
<loc>https://www.endlesspixel.fun/downloads/custom_downloads/</loc>
29+
<lastmod>2025-12-13</lastmod>
30+
<changefreq>weekly</changefreq>
31+
<priority>0.7</priority>
32+
</url>
1533
<url>
1634
<loc>https://www.endlesspixel.fun/status/ </loc>
17-
<lastmod>2025-12-09</lastmod>
35+
<lastmod>2025-12-13</lastmod>
1836
<changefreq>monthly</changefreq>
1937
<priority>0.6</priority>
2038
</url>
39+
<url>
40+
<loc>https://www.endlesspixel.fun/status/mcserverstatus/ </loc>
41+
<lastmod>2025-12-13</lastmod>
42+
<changefreq>monthly</changefreq>
43+
<priority>0.6</priority>
2144
<url>
2245
<loc>https://www.endlesspixel.fun/wiki/ </loc>
23-
<lastmod>2025-12-09</lastmod>
46+
<lastmod>2025-12-13</lastmod>
2447
<changefreq>daily</changefreq>
2548
<priority>0.6</priority>
2649
</url>
2750
<url>
2851
<loc>https://www.endlesspixel.fun/about/</loc>
29-
<lastmod>2025-12-09</lastmod>
52+
<lastmod>2025-12-13</lastmod>
3053
<changefreq>monthly</changefreq>
31-
<priority>0.4</priority>
54+
<priority>0.5</priority>
3255
</url>
3356
</urlset>

app/sitemap.xml/route.js

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// app/sitemap.xml/route.js
22
const config = {
33
siteUrl: 'https://ep.endlesspixel.fun',
4-
lastModified: new Date('2025-12-09'),
4+
lastModified: new Date('2025-12-13'),
55
revalidate: 86400, // 24小时重新生成
66
};
77

@@ -17,11 +17,31 @@ export default function sitemap() {
1717
lastModified: config.lastModified,
1818
priority: 0.8,
1919
},
20+
{
21+
url: `${config.siteUrl}/downloads/launcher/`,
22+
lastModified: config.lastModified,
23+
priority: 0.8,
24+
},
25+
{
26+
url: `${config.siteUrl}/downloads/modpack/`,
27+
lastModified: config.lastModified,
28+
priority: 0.8,
29+
},
30+
{
31+
url: `${config.siteUrl}/downloads/custom_downloads/`,
32+
lastModified: config.lastModified,
33+
priority: 0.7,
34+
},
2035
{
2136
url: `${config.siteUrl}/status/`,
2237
lastModified: config.lastModified,
2338
priority: 0.6,
2439
},
40+
{
41+
url: `${config.siteUrl}/status/mcserverstatus/`,
42+
lastModified: config.lastModified,
43+
priority: 0.6,
44+
},
2545
{
2646
url: `${config.siteUrl}/wiki/`,
2747
lastModified: config.lastModified,
@@ -30,7 +50,7 @@ export default function sitemap() {
3050
{
3151
url: `${config.siteUrl}/about/`,
3252
lastModified: config.lastModified,
33-
priority: 0.4,
53+
priority: 0.5,
3454
},
3555
];
3656
}

0 commit comments

Comments
 (0)