_pages folder not found locally

I just started having a problem with all of my pages in the _pages folder showing up in development. I’m getting the 404 not found error. My baseurl is set to an empty string, and I hadn’t made any changes to it. I tried using a different port, still didn’t work. The index shows up just fine. I used the jekyll serve show directory command and noticed the _pages folder is no longer showing up. It does build correctly with all the pages included and working. Anyone have any idea what might be wrong? As far as I know I haven’t made any major changes to the config to cause this, it was working fine a few days ago. Thanks in advance!

Could you post a public url to your site repo or, at least, the contents of your config file…?

Yes, sorry about that. Here’s a link to the repo: https://github.com/itsthecheat/photography

Check the include line in your _config.yml:

include: ['_pages, _node_modules']

Remove the single quotes as it’s breaking the array. Once you set it like this Jekyll will “see” the pages in _pages and generate them…

include: [_pages, _node_modules]