# File lib/jekyll/static_file.rb, line 53 def write(dest) dest_path = destination(dest) dest_dir = File.join(dest, @dir) return false if File.exist? dest_path and !modified? @@mtimes[path] = mtime FileUtils.mkdir_p(dest_dir) FileUtils.cp(path, dest_path) true end