try to fix the titles
This commit is contained in:
parent
7b6b0b4176
commit
4507528f52
6 changed files with 6 additions and 7 deletions
|
|
@ -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}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue