Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
hugo convert does not pick up draft pages #5457
Steps to reproduce:
The output of
So I tried:
But when inspecting the front matter of content files, they are still in YAML.
I had to scratch my head a little about this one. The test case above isn't all that realistic -- the reason why the above fails, is that all the newly created pages are drafts. It should work, of course, but I don't think it ever worked. If you edit the pages and remove the draft flag, everything works smoother.