mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-25 15:58:53 +00:00
Add GitHub stars
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
{{ partial "svg-icons/hugo-logo-wide.svg" . }}<span class="hugo-v">v{{$version}}</span>
|
||||
</a>
|
||||
<!-- From https://buttons.github.io/. -->
|
||||
<!-- <a class="github-button" href="https://github.com/spf13/hugo" data-icon="octicon-star" data-style="mega" data-count-href="/spf13/hugo/stargazers" data-count-api="/repos/spf13/hugo#stargazers_count" data-count-aria-label="# stargazers on GitHub" aria-label="Star spf13/hugo on GitHub">Star</a> -->
|
||||
<a class="github-button" href="https://github.com/spf13/hugo" data-icon="octicon-star" data-style="mega" data-count-href="/spf13/hugo/stargazers" data-count-api="/repos/spf13/hugo#stargazers_count" data-count-aria-label="# stargazers on GitHub" aria-label="Star spf13/hugo on GitHub"></a>
|
||||
</div>
|
||||
{{ with .Params.toc }}
|
||||
<!-- <a href="#" id="toc-toggle"></a> -->
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<script src="/js/script.min.js" async defer></script>
|
||||
{{$gaid := .Site.Params.googleanalyticstrackingcode }}
|
||||
<!-- GitHub Buttons -->
|
||||
<!-- <script async defer src="https://buttons.github.io/buttons.js"></script> -->
|
||||
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
||||
<!-- Google Analytics -->
|
||||
<script>
|
||||
(function() {
|
||||
|
||||
Reference in New Issue
Block a user