chore: update content, sitemap and lib files

This commit is contained in:
MichalC
2026-08-01 14:01:54 +02:00
parent 6808dee9be
commit 092cff1899
8 changed files with 8 additions and 19 deletions
+1 -4
View File
@@ -39,7 +39,6 @@ export default function sitemap(): MetadataRoute.Sitemap {
priority: route === '' ? 1 : 0.8,
}));
// Dynamiczne produkty
const products = getProducts();
const productRoutes = products.map((product) => ({
url: `${baseUrl}/sklep/${product.slug}`,
@@ -48,16 +47,14 @@ export default function sitemap(): MetadataRoute.Sitemap {
priority: 0.8,
}));
// Dynamiczne artykuły na blogu
const posts = getPosts();
const postRoutes = posts.map((post) => ({
url: `${baseUrl}/blog/${post.slug}`,
lastModified: post.date, // Używamy daty publikacji jako lastModified
lastModified: post.date,
changeFrequency: 'monthly' as const,
priority: 0.6,
}));
// Dynamiczne strony miast
const cityRoutes = dolnySlaskCities.map((city) => ({
url: `${baseUrl}/klimatyzacja/${city.slug}`,
lastModified: new Date().toISOString(),