mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Clean up URLs for page metadata
This commit is contained in:
parent
2e807d6d3a
commit
ff8d369560
1 changed files with 2 additions and 2 deletions
|
|
@ -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 */}
|
||||
|
|
|
|||
Loading…
Reference in a new issue