Skip to content

Commit 3766c49

Browse files
authored
fix: seo issues (#27)
1 parent 821467f commit 3766c49

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/blog/BlogLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ if (post.rendered?.metadata?.headings) {
6464
description={description}
6565
ogTitle={title}
6666
ogDescription={description}
67-
canonical={`${SITE_URL}/blog/${post.id}`}
67+
canonical={`${SITE_URL}/blog/${post.id}/`}
6868
>
6969
<main class="min-h-screen bg-base-100">
7070
<!-- Blog Header -->

src/components/pages/Home/ProblemStatement.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { Construction } from '@lucide/astro'
1212
<p class="text-accent text-4xl lg:text-6xl font-bold font-heading mb-6">
1313
<Construction class="inline-block h-9 w-9 ml-2" />
1414
</p>
15-
<h1
15+
<h2
1616
class="text-4xl lg:text-6xl font-heading font-bold text-base-content mb-8 leading-tight"
1717
>
1818
Building <span class="text-primary">modern</span>, <span
@@ -23,7 +23,7 @@ import { Construction } from '@lucide/astro'
2323
class="text-transparent bg-gradient-to-r from-primary to-secondary bg-clip-text"
2424
>hard</span
2525
>!
26-
</h1>
26+
</h2>
2727
<p class="text-2xl lg:text-3xl text-base-content/80 font-heading">
2828
But it doesn't have to be...
2929
</p>

0 commit comments

Comments
 (0)