From 7ac0b1bd7be223d19c9e8c1c58c8005aa114cb28 Mon Sep 17 00:00:00 2001 From: OLIMINATOR Date: Fri, 6 Jan 2023 21:27:11 +0100 Subject: [PATCH] fix: remove canonicalurl --- .gitignore | 1 + src/components/HeadSEO.astro | 3 -- src/pages/index.astro | 76 +----------------------------------- 3 files changed, 3 insertions(+), 77 deletions(-) diff --git a/.gitignore b/.gitignore index 7329a85..0e958e1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ # build output +.vercel/ dist/ .output/ diff --git a/src/components/HeadSEO.astro b/src/components/HeadSEO.astro index ca7046e..4a6ced3 100644 --- a/src/components/HeadSEO.astro +++ b/src/components/HeadSEO.astro @@ -1,14 +1,11 @@ --- import { SITE, OPEN_GRAPH } from '../config'; - -const canonicalUrl = new URL(Astro.url.pathname, Astro.site); --- {SITE.title} - diff --git a/src/pages/index.astro b/src/pages/index.astro index 412cc4a..10e9140 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,81 +1,9 @@ --- import Layout from '../layouts/Layout.astro'; -import Card from '../components/Card.astro'; --- - +
-

Welcome to Astro

-

- To get started, open the directory src/pages in your project.
- Code Challenge: Tweak the "Welcome to Astro" message above. -

- +

ad

- -