fix styling

This commit is contained in:
Barrett Ruth 2025-10-08 19:44:09 -04:00
parent 4507528f52
commit 375f1530a4
6 changed files with 38 additions and 37 deletions

View file

@ -11,15 +11,18 @@ export async function getStaticPaths() {
}
const { repo } = Astro.props;
const { slug } = Astro.params;
const { Content } = await repo.render();
const pageTitle = `${slug}.git`;
const cloneCommand = `git clone https://git.barrettruth.com/${repo.slug}.git`;
---
<PostLayout frontmatter={repo.data} post={repo}>
<Fragment slot="head">
<title>{pageTitle}</title>
<script type="module" src="/scripts/index.js"></script>
<link rel="stylesheet" href="/styles/git.css" />
</Fragment>
<div class="clone-line">
<code><span class="prompt">&gt;&nbsp;</span>{cloneCommand}</code>
</div>
<Content />
</PostLayout>