Disable "View on Github" button

Add a option to disable a "View on Github" button. 

To disable, add this option

```yml
github:
  is_project_page: false
```

in yout _config.yml file
This commit is contained in:
Daniel Schmitz 2019-07-01 13:35:19 -03:00 committed by GitHub
parent e193e8e825
commit ce4102606d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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.github.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>