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:
co-authored by
Cursor
parent
5d7da0f268
commit
c588b249cc
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user