Clean up URLs for page metadata
This commit is contained in:
@ -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 */}
|
||||
|
||||
Reference in New Issue
Block a user