Closed johnpitchko closed 7 years ago
# gems: # - jekyll-paginate # - jekyll-sitemap
It looks like you need to uncomment these lines :+1:
also, in _config.yml, the usage of gems
is deprecated. Use plugins
(or plugins_dir
see #6195)
@7php But not on GitHub Pages yet.
why all these discrepancy.. gems apparently deprecated even on v3.4.5 and we are already on v3.5.0
@7php We display a warning message for deprecation, but the gems
option will be supported until next major version. Sorry if this is confusing.
Wow ok thanks @pathawks that solved the issue. Odd though that even with those lines commented out the sitemap still generated on my local machine.
So my confusion stemmed from the instructions on the Jekyll homepage that lead me to believe that either the gems: ...
line in _config.yml
OR adding the plugin gems to the Gemfile was required, but not both. Is this a special requirement for Github Pages?
GitHub Pages ignores Gemfile
completely, so any plugins must be enabled in _config.yml
.
I wonder how we could more effectively communicate this.
Thanks @pathawks. I'm happy to improve the README in the repo with some more details.
@johnpitchko That would be much appreciated. ❤️
I'm going to close this issue, but let me know if you have any questions about opening a PR to improve the documentation.
@pathawks I have many questions as I have never done it before :) Assume I create a private fork, make changes, then do a pull request?
@johnpitchko Yessir, that is the process 👍🏼
Added this gem to my Gemfile. Sitemap generates successfully on local machine upon booting Jekyll, but is not generated when site is pushed to Github Pages (404 is generated).
_config.yml:
Gemfile: