Skip to content

Commit

Permalink
make the title tag of blogs reflect their actual title
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewDTR committed Oct 13, 2024
1 parent a19dac8 commit 4b76f87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const { imgLink, title, subtitle } = Astro.props;
<meta name="generator" content={Astro.generator} />
<link rel="stylesheet" href="/fontawesome/css/all.min.css" />
<link rel="stylesheet" href="/charter.css" />
<title>Andrew Moses</title>
<title>{title ? title : "Andrew Moses"}</title>

{imgLink && <meta property="og:image" content={imgLink} />}
{title && <meta property="og:title" content={title} />}
Expand Down

0 comments on commit 4b76f87

Please sign in to comment.