Allow for adding unpublished episodes.
swilgosz opened this issue · 0 comments
swilgosz commented
Currently, when we add a markdown file to the repository, it'll be published on the next push. We want to have a way to keep unpublished episodes (drafts, scheduled).
Todo
Add a way to set published: false/true
in the article/episode metadata. When building content (and fetching a list of available URLs, take this into the account.
Caevats
- When links are built for URLs, at the moment, sitemap and automatic links resolver does not know the content of the markdown files to build all URLs supported.
Maybe having a short script that builds a collection of only published content (for server-side rendering, and sitemap generation) will work here?