Don't use hardcoded directory names; pull from config
Support for publishing draft posts