This repository was archived by the owner on Jun 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22export interface Props {
3+ canonical? : string ;
34 description: string ;
45 title? : string ;
56}
67
7- const { description } = Astro .props ;
8+ const { canonical, description } = Astro .props ;
89
910const image = new URL (" favicon.png" , Astro .site ).toString ();
1011
@@ -98,6 +99,7 @@ const metaPairs = [
9899 <meta charset =" utf-8" />
99100 <link href =" /favicon.png" rel =" icon" type =" image/svg+xml" />
100101 <link href =" /apple-touch-icon.png" rel =" apple-touch-icon" sizes =" 180x180" />
102+ { canonical && <link rel = " canonical" href = { canonical } />}
101103 { metaPairs .map ((meta ) => <meta { ... meta } />)}
102104 <meta content ={ description } name =" description" />
103105 <meta content ={ keywords .join ()} name =" keywords" />
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ const brandingAssets = [
8787---
8888
8989<ContentLayout
90+ canonical =" https://2025.squiggleconf.com/about"
9091 description =" About SquiggleConf: a Boston conference focused on excellent web dev tooling."
9192 title =" About Us"
9293>
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import ContentLayout from "~/layouts/ContentLayout.astro";
55---
66
77<ContentLayout
8+ canonical =" https://2025.squiggleconf.com/code-of-conduct"
89 description =" Code of Conduct for SquiggleConf: a Boston conference focused on excellent web dev tooling."
910 title =" Code of Conduct"
1011>
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import BodyText from "~/components/BodyText.astro";
66---
77
88<ContentLayout
9+ canonical =" https://2025.squiggleconf.com/faqs"
910 description =" FAQs for SquiggleConf: a Boston conference focused on excellent web dev tooling."
1011 title =" FAQs"
1112>
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import ContentLayout from "~/layouts/ContentLayout.astro";
1111---
1212
1313<ContentLayout
14+ canonical =" https://2025.squiggleconf.com"
1415 description =" A Boston conference focused on excellent web dev tooling."
1516>
1617 <PrimaryHero slot =" hero" />
You can’t perform that action at this time.
0 commit comments