Merge 7f215f71b3d035983e1b2f5b1b9bd2f8663b0a42 into 8364d7a4a08760768848b0acc836f99ce19ed5ee
This commit is contained in:
commit
991fb65a23
@ -37,6 +37,7 @@ Additionally, you may choose to set the following optional variables:
|
||||
|
||||
```yml
|
||||
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]
|
||||
```
|
||||
|
||||
|
@ -1,5 +1,6 @@
|
||||
title: Hacker theme
|
||||
description: Hacker is a theme for GitHub Pages.
|
||||
show_downloads: true
|
||||
show_github: true
|
||||
google_analytics:
|
||||
theme: jekyll-theme-hacker
|
@ -21,7 +21,9 @@
|
||||
<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>
|
||||
{% endif %}
|
||||
{% if site.show_github %}
|
||||
<a href="{{ site.github.repository_url }}" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
|
||||
{% endif %}
|
||||
</section>
|
||||
</div>
|
||||
</header>
|
||||
|
Loading…
x
Reference in New Issue
Block a user