Publish Meshkee sitemap-config and harden on-page SEO.

Hand sitemap/robots to the Meshkee API proxy and expose build-time static routes plus clearer titles, canonicals, and image alts.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-23 22:42:28 +03:30
co-authored by Cursor
parent 5d7da0f268
commit c588b249cc
18 changed files with 279 additions and 53 deletions
+11 -1
View File
@@ -48,6 +48,12 @@ export async function generateMetadata({
return {
title: `${blog.title} | مشکی`,
description: blog.abstract ?? undefined,
alternates: { canonical: `/blog/${blog.slug}` },
openGraph: {
title: blog.title,
description: blog.abstract ?? undefined,
type: "article",
},
};
} catch {
return { title: "مقاله | مشکی" };
@@ -126,7 +132,11 @@ export default async function BlogDetailPage({ params }: BlogDetailPageProps) {
<div className="mx-auto max-w-3xl px-5 lg:px-8">
{cover ? (
<div className="mb-5 overflow-hidden rounded-2xl">
<BlogCoverImage src={cover} className="mx-auto max-h-[28rem]" />
<BlogCoverImage
src={cover}
alt={blog.title}
className="mx-auto max-h-[28rem]"
/>
</div>
) : null}