Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 6122439

Browse files
fix: remove canonical tags
Now that we have domain redirects, I believe these are unnecessary.
1 parent 1cd63ef commit 6122439

5 files changed

Lines changed: 1 addition & 7 deletions

File tree

src/components/Head.astro

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
---
22
export interface Props {
3-
canonical?: string;
43
description: string;
54
title?: string;
65
}
76
8-
const { canonical, description } = Astro.props;
7+
const { description } = Astro.props;
98
109
const image = new URL("favicon.png", Astro.site).toString();
1110
@@ -99,7 +98,6 @@ const metaPairs = [
9998
<meta charset="utf-8" />
10099
<link href="/favicon.png" rel="icon" type="image/svg+xml" />
101100
<link href="/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180" />
102-
{canonical && <link rel="canonical" href={canonical} />}
103101
{metaPairs.map((meta) => <meta {...meta} />)}
104102
<meta content={description} name="description" />
105103
<meta content={keywords.join()} name="keywords" />

src/pages/about.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ const brandingAssets = [
8787
---
8888

8989
<ContentLayout
90-
canonical="https://squiggleconf.com/about"
9190
description="About SquiggleConf: a Boston conference focused on excellent web dev tooling."
9291
title="About Us"
9392
>

src/pages/code-of-conduct.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import ContentLayout from "~/layouts/ContentLayout.astro";
55
---
66

77
<ContentLayout
8-
canonical="https://squiggleconf.com/code-of-conduct"
98
description="Code of Conduct for SquiggleConf: a Boston conference focused on excellent web dev tooling."
109
title="Code of Conduct"
1110
>

src/pages/faqs.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import BodyText from "~/components/BodyText.astro";
66
---
77

88
<ContentLayout
9-
canonical="https://squiggleconf.com/faqs"
109
description="FAQs for SquiggleConf: a Boston conference focused on excellent web dev tooling."
1110
title="FAQs"
1211
>

src/pages/index.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import ContentLayout from "~/layouts/ContentLayout.astro";
1111
---
1212

1313
<ContentLayout
14-
canonical="https://squiggleconf.com"
1514
description="A Boston conference focused on excellent web dev tooling."
1615
>
1716
<PrimaryHero slot="hero" />

0 commit comments

Comments
 (0)