# File lib/jekyll/page.rb, line 117 def destination(dest) # The url needs to be unescaped in order to preserve the correct # filename. path = File.join(dest, @dir, CGI.unescape(self.url)) path = File.join(path, "index.html") if self.url =~ /\/$/ path end