I’m looking at adopting Hugo for publishing our company blogs. One requirement we have is the ability to review changes for important pages prior to going live.
I know this can be done by setting
draft=true in a post’s front matter, which is great for reviewing it before it’s initial publication, but can it be used to draft subsequent modifications to a post? i.e. a page is published to production, then sometime later a major change is made that needs review. Setting
draft=true at this point will prevent the post from being generated, effectively removing it. Am I right?
Is there a way to achieve this behaviour directly with Hugo? Or do I need to rely on some other mechanism, such as a branching model in Git?