do not force the permalink to be a dir if it ends on .html

Fixes #798.
This commit is contained in:
maul.esel 2013-04-13 18:45:40 +02:00
parent dcad4b2867
commit 40e44a2051
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ module Jekyll
def destination(dest) def destination(dest)
# The url needs to be unescaped in order to preserve the correct filename # The url needs to be unescaped in order to preserve the correct filename
path = File.join(dest, CGI.unescape(self.url)) path = File.join(dest, CGI.unescape(self.url))
path = File.join(path, "index.html") if template[/\.html$/].nil? path = File.join(path, "index.html") if path[/\.html$/].nil?
path path
end end