1
Fork 0

Use actual button for linking to repo

This commit is contained in:
Jake Howard 2017-12-27 19:21:50 +00:00
parent 1ba3d04927
commit 2e3c888f49
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 7 additions and 4 deletions

View file

@ -3,11 +3,9 @@ title: Code
repo: SR-CLY/2014
---
2014 is one of the only years in which we released the full source code for our robot. There's a link to our [GitHub organisation](https://github.com/SR-CLY/) below. I've mapped SR user accounts to GitHub user accounts to make commit history more accurate.
2014 is one of the only years in which we released the [full source code](https://github.com/SR-CLY/2014) for our robot, to our [GitHub organisation](https://github.com/SR-CLY/).
<ul class="actions fir">
<li><a class="button special fit" href="https://github.com/SR-CLY/2014">View Source</a></li>
</ul>
{{% repobutton %}}
## GRAP!

View file

@ -0,0 +1,5 @@
{{ $repo := default (.Get 0) .Page.Params.repo }}
<a class="btn btn-outline-dark my-2" href="https://github.com/{{ $repo }}">
<i class="fa fa-github"></i> View on GitHub
</a>