Open bryanbraun opened 5 years ago
Just ran into this rogue CSS file as well.
Seems like it's OK to disable the them using null
since it's explicitly mentioned in the code, see https://github.com/github/pages-gem/blob/e0063bacf2e0fb4739ec80f6846796c1dc10f35c/lib/github-pages/configuration.rb#L104
Before submitting an issue, please be sure to
bundle update github-pages
)This issue affects
The GitHub Pages Gem is intended to help users replicate the GitHub Pages build environment locally. If your issue affects both the hosted version and the version previewed locally, you may be better suited reporting seeking support in other forums.
What did you do (e.g., steps to reproduce)
git clone git@github.com:bryanbraun/bryanbraun.github.io.git
bundle install
.scss
(for good measure)jekyll build
._site/assets/style.css
What did you expect to happen?
No CSS files should be generated.
What happened instead?
A CSS file is generated containing
normalize.css
and other styles fromjekyll-theme-primer
. It looks like my site is falling back to usingjekyll-theme-primer
as its theme, even though I have no themes defined in_config.yml
(and I don't want to use any external theme).Possible workaround: If I set
theme: null
it seems like the stylesheet doesn't get added. I'm not sure if this is good to rely on, since it isn't documented anywhere.Additional information
This issue was previously reported in jekyll/jekyll but it appears to be an issue with
pages-gem
.