Skip to content

Commit 8d5f4d3

Browse files
committed
Make it more minimalistic. Don't show the redundant author information.
1 parent 69fc822 commit 8d5f4d3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/layouts/BlogLayout.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Layout from './Layout.astro';
44
55
type Props = CollectionEntry<'blog'>['data'];
66
7-
const { title, pubDate, author } = Astro.props;
7+
const { title, pubDate } = Astro.props;
88
99
const metadata = {
1010
title: title,
@@ -21,6 +21,6 @@ const formattedDate = new Intl.DateTimeFormat('en-US', {
2121

2222
<Layout metadata={metadata}>
2323
<h1>{title}</h1>
24-
<p>By {author} on {formattedDate}</p>
24+
<p>{formattedDate}</p>
2525
<slot />
2626
</Layout>

0 commit comments

Comments
 (0)