Clean up URLs for page metadata

This commit is contained in:
Jackson Harper
2024-08-20 15:12:18 +08:00
parent 2e807d6d3a
commit ff8d369560

View File

@ -82,12 +82,12 @@ export function PageMetaData(props: PageMetaDataProps): JSX.Element {
{props.path && (
<meta
property="og:url"
content={`https://omnivore.app${props.path}`}
content={`${webBaseURL}/${props.path}`}
key="og-url"
/>
)}
{props.path && (
<link rel="canonical" href={`https://omnivore.app${props.path}`} />
<link rel="canonical" href={`${webBaseURL}/${props.path}`} />
)}
{/* Custom additional meta tags */}