Allow rendering of drafts to be controlled by a site variable

Fix #331