🐛 Fixed helmet not showing unique page-title
Signed-off-by: SindreKjelsrud <sindre@kjelsrud.dev>
This commit is contained in:
parent
d496e960e7
commit
2970e3043c
14 changed files with 29 additions and 19 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue