axelitus / axel.pardemann.blog

Repository of my personal blog built on top of Vuepress and automatically published with Netlify.
https://axel.pardemann.blog
MIT License
0 stars 0 forks source link

Unpublished posts are still being deployed on build #29

Open axelitus opened 3 years ago

axelitus commented 3 years ago

The posts marked with a published: false frontmatter property are still being built on production instead of being ignored and not deployed.

axelitus commented 3 years ago

I reduced the priority because thanks to some code changes, at least the posts are not displayed on the blog, though they can still be accessed through the permalink.

axelitus commented 3 years ago

Pushed this issue to milestone 0.2.0 as this seems to be a Vuepress API issue that hasn't been resolved and I don't think that it is planned for the immediate future.

See vuejs/vuepress#1558 and vuejs/vuepress#2238

I don't think there's is currently a way to tap into the build process to filter out pages depending on frontmatter content.

I can think of a workaround, being that of deleting the built files on process completion, but that is just hacky.