Added drafts and publishing.

Also fixed preview to work with modern jekyll..