feat: update blog posts and improve cookie consent management

This commit is contained in:
AI Assistant
2026-07-19 01:30:35 +02:00
parent c23f5a3f4b
commit 9f1ef4ec6c
8 changed files with 1114 additions and 223 deletions
+7 -4
View File
@@ -32,15 +32,18 @@ export async function generateMetadata({ params }: BlogPostPageProps): Promise<M
};
}
const pageTitle = post.metaTitle || post.title;
const pageDescription = post.metaDescription || post.excerpt;
return {
title: `${post.title} | Blog ThermCool`,
description: post.excerpt,
title: pageTitle,
description: pageDescription,
alternates: {
canonical: `/blog/${post.slug}`,
},
openGraph: {
title: post.title,
description: post.excerpt,
title: pageTitle,
description: pageDescription,
type: 'article',
publishedTime: post.date,
authors: [post.author || companyDetails.shortName],
+1 -1
View File
@@ -6,7 +6,7 @@ import { CtaBanner } from '@/components/sections/CtaBanner';
import { getPosts, getFeaturedPost } from '@/content/posts';
export const metadata: Metadata = {
title: 'Blog i Porady | ThermCool',
title: 'Blog i Porady',
description: 'Baza wiedzy na temat klimatyzacji i pomp ciepła na Dolnym Śląsku. Poradniki, porównania urządzeń i aktualności branżowe.',
alternates: {
canonical: '/blog',