try to fix the titles

This commit is contained in:
Barrett Ruth 2025-10-08 19:30:10 -04:00
parent 7b6b0b4176
commit 4507528f52
6 changed files with 6 additions and 7 deletions

View file

@ -11,8 +11,9 @@ export async function getStaticPaths() {
}
const { repo } = Astro.props;
const { slug } = Astro.params;
const { Content } = await repo.render();
const pageTitle = `git/${repo.data.title ?? repo.slug}`;
const pageTitle = `${slug}.git`;
---
<PostLayout frontmatter={repo.data} post={repo}>