mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 18:45:30 -04:00
GitHub buttons shortcode
This commit is contained in:
2
layouts/shortcodes/gh-buttons.html
Normal file
2
layouts/shortcodes/gh-buttons.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<p style="text-align: center;"><a class="github-button" href="https://github.com/{{ .Get "username" }}/{{ .Get "repo" }}" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star {{ .Get "username" }}/{{ .Get "repo" }} on GitHub">Star</a> <a class="github-button" href="https://github.com/{{ .Get "username" }}/{{ .Get "repo" }}/issues" data-icon="octicon-issue-opened" data-size="large" data-show-count="true" aria-label="Issue {{ .Get "username" }}/{{ .Get "repo" }} on GitHub">Issue</a></p>
|
||||
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
Reference in New Issue
Block a user