Content clean-up

I’ve used this Content clean-up | Kirby CMS to remove fields from my content files that are no longer defined in my blueprints.

I’ve used it before in Kirby 4 and it worked as expected, but I’ve just used it in Kirby 5. I was surprised that it was changing a lot of content files (that I didn’t think needed cleaning up) and have now noticed that all the content for one of my fields defined in my blueprint has disappeared. This is the field:

what_we_did:
	label: What we did
	type: tags
	accept: options
	options:
		- Brand strategy
		- Brand identity
		- Web design
		- Graphic design
		- Advertising
		- Book design
		- Copywriting
		- Naming

I backed up my content folder before running the script and the content is in the content files – so I strongly suspect that script has malfunctioned somehow? It does work in Kirby 5? I don’t know why it would strip out my tags?

The name of the field in your blueprint matches what the docs specify as valid. So that should not be the cause of the issue.