Skip to content

Commit

Permalink
chore(fix): remove canonicalURL
Browse files Browse the repository at this point in the history
  • Loading branch information
ndu committed Aug 25, 2024
1 parent fee9ac5 commit 3765247
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions research/src/components/layout/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface Props {
ogImage?: URL
}
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
//const canonicalURL = new URL(Astro.url.pathname, Astro.site);
Astro.props.ogImage ??= new URL(
`${Astro.url.origin}/assets/EIPsForNerds7-EIP-7657(SyncCommitteeSlashings).webp`,
Expand All @@ -25,18 +25,18 @@ const { title, description, ogImage } = Astro.props
<meta name="description" content={description} />

<meta property="og:type" content="website" />
<meta property="og:url" content={canonicalURL} />

<meta property="og:title" content={title} />
<meta property="og:description" content={description} />
<meta property="og:image" content={ogImage} />

<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content={canonicalURL} />

<meta property="twitter:title" content={title} />
<meta property="twitter:description" content={description} />
<meta property="twitter:image" content={ogImage} />

<link rel="canonical" href={canonicalURL} />

<link rel="icon" type="image/svg" href="/favicon.svg" />

<script
Expand Down

0 comments on commit 3765247

Please sign in to comment.