Skip to content

Commit

Permalink
Added github star button
Browse files Browse the repository at this point in the history
  • Loading branch information
liorkesos committed Nov 28, 2018
1 parent 2fe1cc9 commit 5613e52
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
<p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ site.github.repository_nwo }}</small></a></p>
{% endif %}

<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/ntkme/github-buttons" data-show-count="true" aria-label="Star ntkme/github-buttons on GitHub">Star</a>

{% if site.github.is_user_page %}
<p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
{% endif %}
Expand Down Expand Up @@ -59,5 +62,7 @@
ga('send', 'pageview');
</script>
{% endif %}
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>
</body>
</html>

0 comments on commit 5613e52

Please sign in to comment.