Merge 7f215f71b3
into 8364d7a4a0
This commit is contained in:
commit
991fb65a23
|
@ -37,6 +37,7 @@ Additionally, you may choose to set the following optional variables:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
show_downloads: ["true" or "false" to indicate whether to provide a download URL]
|
show_downloads: ["true" or "false" to indicate whether to provide a download URL]
|
||||||
|
show_github: ["true" or "false" to indicate whether to provide a github URL]
|
||||||
google_analytics: [Your Google Analytics tracking ID]
|
google_analytics: [Your Google Analytics tracking ID]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
title: Hacker theme
|
title: Hacker theme
|
||||||
description: Hacker is a theme for GitHub Pages.
|
description: Hacker is a theme for GitHub Pages.
|
||||||
show_downloads: true
|
show_downloads: true
|
||||||
|
show_github: true
|
||||||
google_analytics:
|
google_analytics:
|
||||||
theme: jekyll-theme-hacker
|
theme: jekyll-theme-hacker
|
|
@ -21,7 +21,9 @@
|
||||||
<a href="{{ site.github.zip_url }}" class="btn">Download as .zip</a>
|
<a href="{{ site.github.zip_url }}" class="btn">Download as .zip</a>
|
||||||
<a href="{{ site.github.tar_url }}" class="btn">Download as .tar.gz</a>
|
<a href="{{ site.github.tar_url }}" class="btn">Download as .tar.gz</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if site.show_github %}
|
||||||
<a href="{{ site.github.repository_url }}" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
|
<a href="{{ site.github.repository_url }}" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
|
||||||
|
{% endif %}
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
Loading…
Reference in New Issue