Skip to content

Commit

Permalink
feat: add canonical link setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tobySolutions committed Oct 15, 2024
1 parent f035f9e commit 877ccef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/layouts/BaseHtml.astro
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const baseUrl = getSiteUrl();
const hasSecondaryMenu = hasSecondaryMenuItem(Astro.url.pathname);
const canonicalUrl = generateCanonicalUrl(baseUrl, ogMeta?.slug);
console.log(canonicalUrl);
---

<!doctype html>
Expand Down
2 changes: 0 additions & 2 deletions src/layouts/DocsHtml.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ interface Props {
const { ogMeta } = Astro.props;
const baseUrl = getSiteUrl();
const canonicalUrl = generateCanonicalUrl(baseUrl, ogMeta?.slug);
console.log(canonicalUrl);
---

<!doctype html>
Expand Down

0 comments on commit 877ccef

Please sign in to comment.