fix-seo codes

pull/2/head
Abhijeet Bagade 2025-06-10 15:51:46 +05:30
parent 7153397800
commit ea19c70413
2 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,4 @@
User-agent: *
Allow: /
Disallow: /_DIZ_ADMIN/
Sitemap: https://akadmyapp.com/sitemap.xml

View File

@ -35,7 +35,17 @@ export async function getStaticPaths() {
return [];
}
}
{console.log('blogData000',blogData, `https://akadmyapp.com/blogs/${id}`)}
---
<Layout title={blogData?.title ?? 'Blog | Akademy'} description={blogData?.meta_description} canonicalUrl={`https://akadmyapp.com/blogs/${id}`} ogImage={`https://management.beanstalkedu.com/assets/${blogData?.og_img}`} ogUrl={'https://akadmyapp.com'} newSchema1={blogData?.schema1?.replaceAll("\n", "")} newSchema2={blogData?.schema2?.replaceAll("\n", "")} newSchema3={blogData?.schema3?.replaceAll("\n", "")}>
<Layout
title={blogData?.title ?? 'Blog | Akademy'}
description={blogData?.meta_description}
canonicalUrl={`https://akadmyapp.com/blogs/${id}`}
ogImage={`https://management.beanstalkedu.com/assets/${blogData?.og_img}`}
ogUrl={'https://akadmyapp.com'}
newSchema1={blogData?.schema1?.replaceAll("\n", "")}
newSchema2={blogData?.schema2?.replaceAll("\n", "")}
newSchema3={blogData?.schema3?.replaceAll("\n", "")}>
<SingleBlog client:only="react" blog={blogData} />
</Layout>