Skip to content

Commit a82b8be

Browse files
committed
update page titles
1 parent 7334524 commit a82b8be

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/layouts/MdPostLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const { frontmatter } = Astro.props;
66

77
<base target="_blank" />
88

9-
<Layout>
9+
<Layout pageTitle={`UmYeah's Blog - ${frontmatter.title}`}>
1010
<h2>{frontmatter.title}</h2>
1111
<strong>{frontmatter.description}</strong>
1212
<p style="font-size: 16px;">Published on: {frontmatter.pubDate.toLocaleDateString()}</p>

src/pages/404.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import Layout from '../layouts/Layout.astro';
33
---
44

5-
<Layout>
5+
<Layout pageTitle="UmYeah's 404">
66
<section>
77
<h3>Page Not Found</h3>
88
</section>

src/pages/tags/[tag].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const { tag } = Astro.params;
2121
const { posts} = Astro.props;
2222
2323
---
24-
<Layout pageTitle={tag}>
24+
<Layout pageTitle={`UmYeah's Tags - ${tag}`}>
2525
<h4>Posts tagged with {tag} ({posts.length})</h4>
2626
{posts.map((post: any) => <Blogpost url={`/posts/${post.id}/`} title={post.data.title}/>)}
2727
</Layout>

0 commit comments

Comments
 (0)