From 707f55989a614d9ba249aa207d44116baf77d2db Mon Sep 17 00:00:00 2001 From: Izan Gil <66965250+SrIzan10@users.noreply.github.com> Date: Thu, 30 May 2024 21:35:07 +0200 Subject: [PATCH] feat: seo and image stuff ig --- {src => public}/backgrounds.json | 0 src/components/BaseHead.astro | 6 +-- src/layouts/BlogPost.astro | 2 +- src/pages/index.astro | 65 ++++++++++++++++---------------- 4 files changed, 37 insertions(+), 36 deletions(-) rename {src => public}/backgrounds.json (100%) diff --git a/src/backgrounds.json b/public/backgrounds.json similarity index 100% rename from src/backgrounds.json rename to public/backgrounds.json diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index 5aac24f..d74a838 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -11,7 +11,7 @@ interface Props { const canonicalURL = new URL(Astro.url.pathname, Astro.site); -const { title, description, image = '/blog-placeholder-1.jpg' } = Astro.props; +const { title, description, image } = Astro.props; --- @@ -37,11 +37,11 @@ const { title, description, image = '/blog-placeholder-1.jpg' } = Astro.props; - + - + diff --git a/src/layouts/BlogPost.astro b/src/layouts/BlogPost.astro index 19751f4..5bf6fd7 100644 --- a/src/layouts/BlogPost.astro +++ b/src/layouts/BlogPost.astro @@ -12,7 +12,7 @@ const { title, excerpt: description, published_at, updated_at, feature_image, fe
-