         Q.nfcall template, context
       .then ->
         # Write file
-        log.verbose "generate", "Writing file: %s", outpath
+        log.verbose "generate", "Writing page: %s", outpath
         Q.nfcall fs.outputFile, outpath, context.clearBuffer()
 
           # TODO: Re-enable the error checking that happens on tinyliquid

      data.content = content

      log.verbose "generate", "Loaded post: %s", file
      data

getPermalink = (slug, data, permalinkStyle) ->

      posts

loadPost = (config, file) ->
  log.silly "generate", "loadPost(%s)", file
  helpers.getMetadataAndContent(file)
    .then (val) ->
      { data, content } = val
