Skip to content

Commit

Permalink
blog: show post names in titles (#1612)
Browse files Browse the repository at this point in the history
The change in this PR shows the blog post title in the page title.
Closes #727.
  • Loading branch information
flyfloh authored Dec 22, 2024
1 parent 140e1c6 commit 726c715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/blog/[category]/[year]/[id].astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const { entry } = Astro.props;
const { Content } = await entry.render();
---

<Layout title="Blog">
<Layout title=`${entry.data.title} | Blog`>
<PageHeader
text={entry.data.title}
subtext={entry.data.date
Expand Down

0 comments on commit 726c715

Please sign in to comment.