pages-themes / slate

Slate is a Jekyll theme for GitHub Pages
https://pages-themes.github.io/slate/
Creative Commons Zero v1.0 Universal
303 stars 981 forks source link

[Don't merge] Question about `is_project_page` #7

Closed lhmouse closed 7 years ago

lhmouse commented 7 years ago

… in _config.yml.

Today I found that setting is_project_page to true in _config.yml didn't enable the copyright footer. After some investigation it turned out that site.github.is_project_page in default.html was used to load that value in _config.yml, which should have been site.is_project_page. This commit fixes the error.

lhmouse commented 7 years ago

Oops, that parameter should indeed be passed by GitHub, but what if it is a user page? There would be no copyright notice at all.