netlify-cms logo

How To Delete Unnecessary Fields From Netlify-CMS Configuration
Published: 22-Sep-2019

NOTE: before you delete fields from the yml file, make sure they are not being referenced in any queries, gatsby-config.js or gatsby-node.js.

  1. Make sure gatsby develop is not running
  2. Delete the field(s) from your /static/admin/config.yml file
  3. Run gatsby develop. When it has loaded, try to load http://localhost:8000/admin/
  4. If you cannot open the admin panel:
    1. Drop gatsby develop
    2. Delete the .cache folder
    3. Run gatsby develop again
  5. Go to each item that you deleted fields from, make a small change, and Publish the change OR Modify each md file manually in a text editor.

I prefer to use the netlify-cms to make the change. It’s too easy to make a human error in the raw text (and not notice it).

netlify-cms logo

How To Delete Unnecessary Fields From Netlify-CMS Configuration
Published: 22-Sep-2019

NOTE: before you delete fields from the yml file, make sure they are not being referenced in any queries, gatsby-config.js or gatsby-node.js.

  1. Make sure gatsby develop is not running
  2. Delete the field(s) from your /static/admin/config.yml file
  3. Run gatsby develop. When it has loaded, try to load http://localhost:8000/admin/
  4. If you cannot open the admin panel:
    1. Drop gatsby develop
    2. Delete the .cache folder
    3. Run gatsby develop again
  5. Go to each item that you deleted fields from, make a small change, and Publish the change OR Modify each md file manually in a text editor.

I prefer to use the netlify-cms to make the change. It’s too easy to make a human error in the raw text (and not notice it).