module Jekyll::Convertible
def write(dest)
dest - The String path to the destination dir.
Write the generated page file to the destination directory.
def write(dest) path = destination(dest) FileUtils.mkdir_p(File.dirname(path)) Jekyll.logger.debug "Writing:", path File.write(path, output, :mode => "wb") Jekyll::Hooks.trigger hook_owner, :post_write, self end