Skip to content

Commit

Permalink
Adds canonical tags
Browse files Browse the repository at this point in the history
  • Loading branch information
a-poor committed Dec 29, 2024
1 parent c1ff962 commit f0cea9a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export function meta(_: Route.MetaArgs) {
return [
{ title: "AustinPoor.com" },
{ name: "description", content: "Welcome to AustinPoor.com!" },
{ rel: "canonical", href: "https://austinppoor.com" },
];
}

Expand Down
1 change: 1 addition & 0 deletions app/routes/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export function meta(_: Route.MetaArgs) {
return [
{ title: "About Me | AustinPoor.com" },
{ name: "description", content: "Learn more about Austin" },
{ rel: "canonical", href: "https://austinppoor.com/about" },
];
}

Expand Down
1 change: 1 addition & 0 deletions app/routes/blog.$slug.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export function meta({ params }: Route.ComponentProps) {
{ name: "description", content: post.front?.description },
{ name: "og:image", content: post.front?.image?.src },
{ name: "og:image:alt", content: post.front?.image?.alt },
{ rel: "canonical", href: `https://austinppoor.com/blog/${params.slug}` },
];
}

Expand Down
1 change: 1 addition & 0 deletions app/routes/blog._index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export function meta() {
return [
{ title: "Blog | AustinPoor.com" },
{ name: "description", content: "Welcome to Austin's Blog!" },
{ rel: "canonical", href: "https://austinppoor.com/blog" },
];
}

Expand Down
1 change: 1 addition & 0 deletions app/routes/projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export function meta(_: Route.MetaArgs) {
return [
{ title: "Projects | AustinPoor.com" },
{ name: "description", content: "Check out Austin's projects!" },
{ rel: "canonical", href: "https://austinppoor.com/projects" },
];
}

Expand Down
1 change: 1 addition & 0 deletions app/routes/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export function meta(_: Route.MetaArgs) {
return [
{ title: "Search | AustinPoor.com" },
{ name: "description", content: "Search for anything on AustinPoor.com" },
{ rel: "canonical", href: "https://austinppoor.com/search" },
];
}

Expand Down
1 change: 1 addition & 0 deletions app/routes/uses.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export function meta(_: Route.MetaArgs) {
return [
{ title: "Uses | AustinPoor.com" },
{ name: "description", content: "Austin's tools and gear" },
{ rel: "canonical", href: "https://austinppoor.com/uses" },
];
}

Expand Down

0 comments on commit f0cea9a

Please sign in to comment.