Skip to content

Commit

Permalink
Added sub-page titles + default page title
Browse files Browse the repository at this point in the history
  • Loading branch information
bbag committed Mar 2, 2024
1 parent 658a89c commit 19162fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ interface Props {
title: string
}
const { title } = Astro.props
const { title = 'Billy Baggerman | Portfolio' } = Astro.props
---

<!doctype html>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/experiments/[slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const { item } = Astro.props as Props
const { Content } = await item.render()
---

<Layout title={ item.data.title }>
<Layout title={ item.data.title + ' | Billy Baggerman' }>
<section class="content">
<div class="experiment-nav">
<KeyboardButton href="/">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/projects/[slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const { item } = Astro.props as Props
const { Content } = await item.render()
---

<Layout title={ item.data.title }>
<Layout title={ item.data.title + ' | Billy Baggerman' }>
<section class="content">
<div class="project-nav">
<KeyboardButton href="/">
Expand Down

0 comments on commit 19162fb

Please sign in to comment.