jnordberg / wintersmith

A flexible static site generator
http://wintersmith.io/
MIT License
3.5k stars 332 forks source link

Pages suppressed with "template: none" doesn't affect rss feed #250

Closed twoseat closed 10 years ago

twoseat commented 10 years ago

From the readme:

"Omitting the template key or setting it to none will cause the page not to be rendered."

This works great, and allows me to work on one or more draft articles that won't be published until I set their template. Unfortunately the draft articles are still published in the rss feed. It would be ideal if the template setting affected the rss feed as well, or is there another setting I should be using to mark drafts?

jnordberg commented 10 years ago

It will not be rendered, but still available in the content tree, and that is what the getArticles helper uses to figure out what items it should list. I'll patch that up to ignore items without a template