-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Previewing Draft Posts and Hugo list drafts #98
Comments
|
I'll update the README. |
Thanks. |
It can be a bit annoying to move back and forth now that I'm revising an upcoming article. I think draft would work better from my point of view, though I can certainly see how upcoming/ makes it clear what is yet to be published. |
It's just easier for us Gopheracademy folks to see/know which articles are yet to be released if they're in |
Yah. I totally understand. @spf13 any ideas? |
I wrote a command to list all the drafts or future posts in hugo. Looks like I didn't commit it yet. |
Nevermind. I've committed it, it's in head. hugo list drafts |
Thanks Steve. Does that satisfy the workflow for GA folks Ahsanul? /cc @bketelsen @erikstmartin |
I think that could work. That way we could merge pull requests to publish articles rather than moving files from |
Sounds good. 👍 I'm not sure if I have another article in me this year, but maybe. |
Maybe it would also make sense to make use of future-dated posts (by not using |
Any news on moving to a draft-based workflow? The |
I'm going to update the README tonight. Drafts-based workflow is probably for the best. |
👍 |
I never figured out how to preview my post while it was in upcoming, so while working I actually stored it in advent-2014/ with
draft = true
in the front matter.hugo --watch server --config="config.toml" -F -D
Maybe the README could suggest how to preview posts as people are writing them?
The text was updated successfully, but these errors were encountered: