make credits optional

This commit is contained in:
Pat Dryburgh 2018-08-01 09:52:35 -07:00
parent cfb0bdad33
commit 6dd29b3ab1
3 changed files with 10 additions and 1 deletions

@ -54,6 +54,14 @@ Be sure to start your `url`s with a `/`.
A sparsely decorated layout designed to present long-form writing in a manner that's pleasing to read.
### Credits
The theme credits that appear at the bottom of each page can be turned off by including the following line in your site's `_config.yml` file:
```
hide_credits: true
```
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/patdryburgh/hitchens. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

@ -24,6 +24,7 @@ github_username: patdryburgh
# Build settings
markdown: kramdown
hide_credits: true
# Exclude from processing.
# The following items will not be processed, by default. Create a custom list

@ -19,7 +19,7 @@
{{ content }}
{% unless site.show_credits == "false" %}
{% unless site.hide_credits %}
<aside class="site-credits">
<p>
<small><a href="https://github.com/patdryburgh/hitchens">Hitchens Theme</a> powered by <a href="http://jekyllrb.com">Jekyll</a></small>