Fix canonicals

pull/3273/head
Kamran Ahmed 2 years ago
parent 66cb4f9a06
commit 88ff836bfb
  1. 2
      src/layouts/BaseLayout.astro

@ -63,7 +63,7 @@ const currentPageAbsoluteUrl = `https://roadmap.sh${permalink.replace(
<meta property='og:type' content='website' />
<meta property='og:url' content={currentPageAbsoluteUrl} />
{currentPageAbsoluteUrl !== 'https://roadmap.sh' && <link rel='canonical' href={currentPageAbsoluteUrl} /> }
<link rel='canonical' href={currentPageAbsoluteUrl} />
<meta name='mobile-web-app-capable' content='yes' />
<meta name='apple-mobile-web-app-capable' content='yes' />

Loading…
Cancel
Save