How to set all md files front matter draft false default ,in config file or other method?

First, if a section page is marked as draft, then none of the pages within the section will be published.

Second, when you cascade a value down it will not override an existing value.

I think you want to do this in your site configuration, targeting pages not sections.

[[cascade]]
draft = true
[cascade._target]
kind = 'page'
1 Like