SEO
This commit is contained in:
@@ -40,6 +40,25 @@ export default function SeoCategoryPage({ profile }: SeoCategoryPageProps) {
|
||||
}
|
||||
: null
|
||||
|
||||
const breadcrumbSchema = {
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'BreadcrumbList',
|
||||
itemListElement: [
|
||||
{
|
||||
'@type': 'ListItem',
|
||||
position: 1,
|
||||
name: 'Home',
|
||||
item: siteConfig.domain,
|
||||
},
|
||||
{
|
||||
'@type': 'ListItem',
|
||||
position: 2,
|
||||
name: profile.h1,
|
||||
item: `${siteConfig.domain}${profile.canonical}`,
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<script
|
||||
@@ -52,6 +71,10 @@ export default function SeoCategoryPage({ profile }: SeoCategoryPageProps) {
|
||||
dangerouslySetInnerHTML={{ __html: JSON.stringify(appSchema) }}
|
||||
/>
|
||||
)}
|
||||
<script
|
||||
type="application/ld+json"
|
||||
dangerouslySetInnerHTML={{ __html: JSON.stringify(breadcrumbSchema) }}
|
||||
/>
|
||||
<Navbar />
|
||||
<main className="comparison-page">
|
||||
{/* Hero */}
|
||||
|
||||
Reference in New Issue
Block a user