How to delete a page?

Simple question but I cannot find the answer: What is the correct way to delete a page? I’m using Netlify CMS with Hugo.

I added delete: true in the pages collection in the config file which made the Delete button appear in the page editor in the CMS. When I click on the button, it initially looks like it has deleted the page. But it then reappears shortly after.

hmm, maybe @tomrutgers knows?

@etalla I’m assuming you’re trying to delete a file from a file collection? As these files cannot be created through the CMS, they can’t be deleted by it either. I think this behavior is intended (but I don’t know why exactly).

Hi – I was trying to delete them from the CMS app directly. I thought that would be cleaner than manually deleting all related instances and references in the filebase.