matt-dray / rostrum-blog

:memo::bug: Blog: superseded source code for rostrum.blog
Other
6 stars 3 forks source link

Draft status remains in HTML file after removal from Rmd #9

Closed matt-dray closed 5 years ago

matt-dray commented 5 years ago

Step 6 of the process for authors in our README says to add draft: true to the YAML while in draft to prevent the post from being served and becoming visible at https://rostrum.blog.

In theory, you can just remove draft: true from the YAML and re-serve the site from the Blogdown addin, but the HTML still retains the draft status, preventing it from appearing on the site.

Solution: this is kind of the wrong approach anyway. It's probably better to create new branches with posts in and work on those separately. Re-write the README to this effect.

matt-dray commented 5 years ago

Probably could just update it to draft: false, but the branch workflow is probably better.