leven-the-blog / leven

😋 Make your own blog!
56 stars 6 forks source link

Allow drafts. #13

Closed sidney-pham closed 7 years ago

sidney-pham commented 7 years ago

Don't render posts if filename ends with 'draft' or something.

quadrupleslap commented 7 years ago

Why would you need that?

sidney-pham commented 7 years ago

Really... I don't want people to see half finished blog posts and maybe I want to retract stupid blog posts (possibly concerning certain words in the English language) without deleting them entirely.

sidney-pham commented 7 years ago

In fact, your Welcome, Stranger.md post is a perfect post to make a draft. I'd want to be able to refer back to it, but not have it shown to the world.

sidney-pham commented 7 years ago

Wait a minute, I can totally just create a folder called Drafts or something in the blog root right? Pretty sure this solves the problem, just make it obvious to users.

quadrupleslap commented 7 years ago

How do you want to make it obvious?

quadrupleslap commented 7 years ago

Anyway, since it's a static site, nothing gets published until you build and then deploy, so this issue seems irrelevant, so closing.