Allow per-post specification of template
Parametrize postsDir, templatesDir, outputDir