cuibonobo / cuibonobo.com

A static site generator for cuibonobo.com
https://cuibonobo.com
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Allow draft posts #60

Open cuibonobo opened 2 years ago

cuibonobo commented 2 years ago

This gets a little bit into how to handle permissions for posts that should be 'private', but there should be a way to mark posts that shouldn't be published on the site yet. Probably there should be a permissions key on posts and a public boolean inside of that. Posts that aren't set to public won't be published. (Posts are private by default.)

cuibonobo commented 2 years ago

No need to have server authorization yet... Posts that aren't public won't be turned into HTML. Of course, posts won't be truly private until the data is moved out of the repo in #58.