Merge pull request #931 from timlrx/fix/genPageMetadata
standardize description and og:description
This commit is contained in:
commit
cd25e6138a
@ -12,6 +12,7 @@ interface PageSEOProps {
|
||||
export function genPageMetadata({ title, description, image, ...rest }: PageSEOProps): Metadata {
|
||||
return {
|
||||
title,
|
||||
description: description || siteMetadata.description,
|
||||
openGraph: {
|
||||
title: `${title} | ${siteMetadata.title}`,
|
||||
description: description || siteMetadata.description,
|
||||
|
Loading…
x
Reference in New Issue
Block a user