🐛 Fixed helmet not showing unique page-title

Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
SindreKjelsrud 2025-06-19 20:33:00 +02:00
parent d496e960e7
commit 2970e3043c
Signed by: sidski
GPG key ID: D2BBDF3EDE6BA9A6
14 changed files with 29 additions and 19 deletions

View file

@ -7,7 +7,7 @@ type Props = CollectionEntry<'blog'>['data'];
const { title, description, pubDate } = Astro.props;
---
<BlogContainer>
<BlogContainer title={title} description={description}>
<main class="flex flex-col flex-1 mb-auto break-words mt-4">
<article class="flex flex-col gap-1">
<h1 class="text-4xl font-extrabold">{title}</h1>

View file

@ -3,7 +3,7 @@ import SectionContainer from '../components/SectionContainer.astro';
const {frontmatter} = Astro.props;
---
<SectionContainer>
<SectionContainer title={"gallery: " + frontmatter.title} description={frontmatter.description}>
<main class="flex flex-col flex-1 mb-auto break-words mt-4">
<article>
<h1 class="text-3xl font-extrabold">[ gallery: {frontmatter.title} ]</h1>

View file

@ -3,7 +3,7 @@ import SectionContainer from '../components/SectionContainer.astro';
const {frontmatter} = Astro.props;
---
<SectionContainer>
<SectionContainer title={frontmatter.title} description={frontmatter.description}>
<main class="flex flex-col flex-1 mb-auto break-words mt-4">
<article>
<h1 class="text-3xl font-bold">[ {frontmatter.title} ]</h1>