adds yaml front-matter and unpublishes