Merge pull request #1 from SNvMK/is-project-page
Add is_project_page checker for View on GitHub button
This commit is contained in:
commit
f2215519b7
|
@ -23,7 +23,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 %}
|
||||
<a href="{{ site.github.repository_url }}" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
|
||||
{% if site.is_project_page %}
|
||||
<a href="{{ site.github.repository_url }}" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
|
||||
{% endif %}
|
||||
</section>
|
||||
</div>
|
||||
</header>
|
||||
|
|
Loading…
Reference in New Issue