fix url placemnt

This commit is contained in:
Barrett Ruth 2025-11-28 17:41:20 -05:00
parent 9e4794d279
commit c5dbbbf6b8
11 changed files with 5 additions and 19 deletions

View file

@ -13,6 +13,7 @@ export async function getStaticPaths() {
const { repo } = Astro.props;
const { Content } = await repo.render();
const cloneCommand = `git clone https://git.barrettruth.com/${repo.slug}.git`;
const githubUrl = `https://github.com/barrett-ruth/${repo.slug}`;
---
<PostLayout frontmatter={repo.data} post={repo}>
@ -24,5 +25,8 @@ const cloneCommand = `git clone https://git.barrettruth.com/${repo.slug}.git`;
<code><span class="prompt">&gt;&nbsp;</span>{cloneCommand}</code>
</div>
<br />
<div><a href={githubUrl}>source code</a></div>
<Content />
</PostLayout>