gatsby-starter-portfolio-minimal-theme
gatsby-starter-portfolio-minimal-theme copied to clipboard
Removing blogSettings from gatsby-config.js to disable blog functionality causes errors preventing gatsby build
Am I interpreting the README correctly when I delete blogSettings? I would like to disable the blog functionality, but I get these errors.
Hey @jmtrinh! Have you deleted the blogSettings
property inside your config as well as deleted the articles
inside your content directory? Both should be removed if you want to disable the blog feature.
Hi @konstantinmuenster! I have tried deleting the articles inside content but this error still persists.
If it helps, I've experimented with ending execution before line 17 in createPages.js: const articleListingPageSlug = options.blogSettings.path.replace(/\/\/+/g, '/');
which does prevent the error from appearing.