Add dynamic site titles

This commit is contained in:
Sat Naing
2022-09-13 23:53:35 +06:30
parent 8239ee80f7
commit 91791e45f6
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ const posts = await Astro.glob<Frontmatter>("../../contents/*.md");
const sortedPosts = getSortedPosts(posts);
---
<Layout title="Posts | AstroPaper">
<Layout title={`Posts | ${import.meta.env.PUBLIC_SITE_TITLE}`}>
<Header activeNav="posts" />
<Main pageTitle="Posts" pageDesc="All the tags used in posts.">
<ul>