pages-gem icon indicating copy to clipboard operation
pages-gem copied to clipboard

Cannot disable jekyll-feed

Open jcarlson opened this issue 6 years ago • 12 comments

Before submitting an issue, please be sure to

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.

jcarlson avatar Mar 04 '19 16:03 jcarlson

I'm facing the same problem. Did you find a solution to it?

deepfriedbrain avatar Apr 29 '19 06:04 deepfriedbrain

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 .

jcarlson avatar Apr 29 '19 14:04 jcarlson

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 avatar May 06 '19 11:05 pecuna

@pecuna tried your version and still is generating.

anodpixels avatar Jun 05 '19 10:06 anodpixels

I cannot disable either.

xwang233 avatar Jun 29 '19 21:06 xwang233

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.

creadone avatar Jun 30 '19 07:06 creadone

None of the above works. I ended up just adding the file to .gitignore

cwells avatar Sep 14 '19 03:09 cwells

Nope -- Jekyll feed remains, even when I try to disable. Gitignore it is.

gmcclure avatar Dec 04 '19 20:12 gmcclure

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:

ashmaroli avatar Dec 06 '19 13:12 ashmaroli

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.

This solution worked for me, thanks

aalleard avatar Dec 12 '19 15:12 aalleard

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.

bpatra avatar Apr 17 '20 13:04 bpatra

Very disorienting to remove it from your gemfile and from config, and yet with the minima theme it's still there.

RyanTG avatar Jan 20 '21 17:01 RyanTG