sitemap
This commit is contained in:
33
app/sitemap.ts
Normal file
33
app/sitemap.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
const BASE = "https://soccer-2026.info";
|
||||
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
const now = new Date();
|
||||
return [
|
||||
{
|
||||
url: `${BASE}/en`,
|
||||
lastModified: now,
|
||||
changeFrequency: "hourly",
|
||||
priority: 1.0,
|
||||
alternates: {
|
||||
languages: {
|
||||
en: `${BASE}/en`,
|
||||
de: `${BASE}/de`,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
url: `${BASE}/de`,
|
||||
lastModified: now,
|
||||
changeFrequency: "hourly",
|
||||
priority: 1.0,
|
||||
alternates: {
|
||||
languages: {
|
||||
en: `${BASE}/en`,
|
||||
de: `${BASE}/de`,
|
||||
},
|
||||
},
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user