SEO
This commit is contained in:
@@ -24,6 +24,20 @@ const BlogPostPage: React.FC<BlogPostPageProps> = ({ data }) => {
|
||||
? 'Local Services'
|
||||
: 'IT Insights';
|
||||
|
||||
const schema = {
|
||||
"@context": "https://schema.org",
|
||||
"@type": "BlogPosting",
|
||||
"headline": data.h1,
|
||||
"description": data.description,
|
||||
"url": `https://bayareait.services/${data.slug}`,
|
||||
"image": data.image ? `https://bayareait.services${data.image}` : "https://bayareait.services/logo.svg",
|
||||
"publisher": {
|
||||
"@type": "Organization",
|
||||
"name": "Bay Area IT",
|
||||
"url": "https://bayareait.services"
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<SEO
|
||||
@@ -31,6 +45,7 @@ const BlogPostPage: React.FC<BlogPostPageProps> = ({ data }) => {
|
||||
description={data.description}
|
||||
keywords={data.keywords}
|
||||
canonicalUrl={`https://bayareait.services/${data.slug}`}
|
||||
schema={schema}
|
||||
/>
|
||||
|
||||
<div className="min-h-screen bg-background-light dark:bg-background-dark relative overflow-x-hidden pt-32 pb-16">
|
||||
|
||||
Reference in New Issue
Block a user