Hide empty fields in .txt file

Hi there. My blueprint has some non-required fields. When these are empty, the generated .txt still show them as, for example:




Would be there any way to not render at all empty fields in the final .txt?

I find that these clutters the outcome, and would prefer not to have them if possible.

If you remove them programmatically, they will be re-added when the page is saved the next time. The only way to prevent that would probably be a page model that overwrites the default writeContent method for each model, unsetting the field for all empty fields. Don’t know if that’s worth it.