pages-gem
pages-gem copied to clipboard
Cannot disable jekyll-feed
Before submitting an issue, please be sure to
- [X] Read the contributing instructions
- [X] Update to the latest Gem version (run
bundle update github-pages)
This issue affects
- [ ] The site generated by GitHub Pages
- [X] Building sites locally
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)
Removed the jekyll-feed plugin from my _config.yml
What did you expect to happen?
Jekyll should stop generating feeds (with one post in my site, feed generation is take 4+ seconds on every "save".
Jekyll Feed: Generating feed for posts
...done in 4.326657 seconds.
What happened instead?
GitHub Pages continues to inject jekyll-feed as a default plugin; jekyll-feed plugin injects posts as a required collection
Additional Information
jekyll-feed is listed as an optional plugin, but it does not appear to be optional at all.
I'm facing the same problem. Did you find a solution to it?
No, I did not.
On Mon, Apr 29, 2019 at 12:27 AM deepfriedbrain [email protected] wrote:
I'm facing the same problem. Did you find a solution to it?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/github/pages-gem/issues/627#issuecomment-487463565, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAN6LAUAUWGCUZW2EIAHTLPS2IMFANCNFSM4G3SUQUQ .
I also have the same problem. I do not want the feeding and it is still doing it...
EDIT: I have found that in the Gemfile, from the theme I'm using, the plugin is still listed. When I commented it, Jekyll stopped generating feed anymore.
@pecuna tried your version and still is generating.
I cannot disable either.
Hi, guys
Feed option defined in theme, like this. Just remove it from Gemfile & bundle update then from _config.yml and restart Jekyll, feed should be gone.
None of the above works. I ended up just adding the file to .gitignore
Nope -- Jekyll feed remains, even when I try to disable. Gitignore it is.
jekyll-feed or any other plugin will be automatically loaded by Jekyll if it is a runtime_dependency of your theme.
Under regular circumstances, a solution to disable such automatic loading would be to build with
--safe mode and ensuring the plugin is not listed in the site.config['whitelist'] array.
Whether the same is applicable to github-pages as well, is up for experimentation :wink:
Hi, guys
Feed option defined in theme, like this. Just remove it from
Gemfile&bundle updatethen from_config.ymland restart Jekyll, feed should be gone.
This solution worked for me, thanks
Make sure you do not have a theme such as theme: minima in your _config.yml. This is default theme when doing jekyll new and minima in its version 2 (at least) depends on jekyll-feed.
Very disorienting to remove it from your gemfile and from config, and yet with the minima theme it's still there.