fix url placemnt
This commit is contained in:
parent
9e4794d279
commit
c5dbbbf6b8
11 changed files with 5 additions and 19 deletions
|
|
@ -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">> </span>{cloneCommand}</code>
|
||||
</div>
|
||||
|
||||
<br />
|
||||
<div><a href={githubUrl}>source code</a></div>
|
||||
|
||||
<Content />
|
||||
</PostLayout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue