{"issue":{"created_at":"2011-11-23T13:44:20Z","state":"open","updated_at":"2011-11-26T04:06:36Z","user":{"gravatar_id":"9cfc21bacab0bac4bd3f53947612e079","id":153481,"url":"https://api.github.com/users/fhemberger","login":"fhemberger","avatar_url":"https://secure.gravatar.com/avatar/9cfc21bacab0bac4bd3f53947612e079?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"Posts which contain the YAML attribute `published: false` are usually\r\nnot generated by Jekyll. With this patch they can be previewed just\r\nlike published posts on localhost using `rake watch`or `rake preview`.\r\n\r\nNOTICE: Before pushing to the productive environment, use `rake generate`\r\nto update the public directory and remove posts which are flagged not to be\r\npublished.","assignee":null,"id":2329708,"number":293,"pull_request":{"patch_url":"https://github.com/imathis/octopress/pull/293.patch","html_url":"https://github.com/imathis/octopress/pull/293","diff_url":"https://github.com/imathis/octopress/pull/293.diff"},"labels":[],"title":"Introduce distinction between preview/productive site generation","closed_at":null,"html_url":"https://github.com/imathis/octopress/issues/293","milestone":null,"url":"https://api.github.com/repos/imathis/octopress/issues/293"},"action":"created","comment":{"created_at":"2011-11-26T04:06:36Z","updated_at":"2011-11-26T04:06:36Z","user":{"gravatar_id":"23d971deeb3975a7d28246192fbbe7b7","id":191200,"url":"https://api.github.com/users/simensen","login":"simensen","avatar_url":"https://secure.gravatar.com/avatar/23d971deeb3975a7d28246192fbbe7b7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"This looks like it could be a useful patch. The downside of having to remember to `rake generate` again before deployment could be an issue, though. There is `:gen_deploy`... should `:generate` be called automatically by the deploy methods to avoid this type of issue? What reasons would there be to not do this?","id":2879834,"url":"https://api.github.com/repos/imathis/octopress/issues/comments/2879834"}}