SEO blogpost
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import { Metadata } from 'next'
|
||||
import { blogPosts } from '@/lib/blogPosts'
|
||||
import { BlogPostTemplate } from '@/components/blog/BlogPostTemplate'
|
||||
|
||||
const post = blogPosts['houseplant-watering-schedule']
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: post.metaTitle,
|
||||
description: post.metaDescription,
|
||||
alternates: {
|
||||
canonical: post.canonical,
|
||||
},
|
||||
openGraph: {
|
||||
title: post.metaTitle,
|
||||
description: post.metaDescription,
|
||||
images: [{ url: post.heroImage }],
|
||||
},
|
||||
}
|
||||
|
||||
export default function HouseplantWateringSchedulePage() {
|
||||
return <BlogPostTemplate post={post} />
|
||||
}
|
||||
Reference in New Issue
Block a user