I’m not sure how to make this any clearer. The draft
flag does exactly what it is supposed to do, and its behavior in this context has not changed in a decade.
The only reason you might see content in public that is marked draft in your content directory is if you toggled the value and you didn’t clear your public directory.
https://gohugo.io/getting-started/usage/#build-your-site