DEV Community

Sean Killeen
Sean Killeen

Posted on

[Solved] How can I publish a post in my drafts?

Problem

Currently, when I look at my dashboard, I see several drafts that I've imported via RSS.

I have "DRAFT", "EDIT", and "DELETE" buttons. Under each post

However, none of those buttons appears to give me the ability to actually publish a post. And unlike authoring this post, when I click "SAVE POST", it appears to revert back to the unpublished post, rather than publishing it.

Anyone know how I can actually get some of these out into the wild?

Solution

The post has a published: false piece in the frontmatter. Change it to true.

Oldest comments (33)

Collapse
 
seankilleen profile image
Sean Killeen

DOH! I missed the published: false in the frontmatter.

Collapse
 
nisevi profile image
Nicolas Sebastian Vidal

same here :P !

Collapse
 
jcubic profile image
Jakub T. Jankiewicz

Note that deleting it will not help, it need to be set to true.

Collapse
 
hydroweaver profile image
Karan

THANK YOU !!!!!!!!!!!!!!!!

Collapse
 
anishkny profile image
Anish Karandikar

yup happened to me too. duh! feature request: maybe have a button called "Publish" which explains how to actually publish a draft

Collapse
 
rikschennink profile image
Rik Schennink

Thanks! Super helpful :D

Collapse
 
kadnan profile image
Adnan Siddiqi

Darn, it was so unexpected. As a newbie I was just searching for a button

Collapse
 
agilebelma profile image
Belma

Thank you for sharing this tip! I really appreciate it!

Collapse
 
hozefaj profile image
Hozefa

Thanks πŸ‘

Collapse
 
kevgathuku profile image
Kevin Gathuku

Thanks for this! I was also expecting to find a Publish button somewhere πŸ˜…

Collapse
 
millan123ta profile image
millan123ta • Edited

I have given the title but it's still showing that title not be blank? I don't know what happens?

Collapse
 
edo248 profile image
Eduard Babayan

Super helpful :)