Merge pull request #3732 from jekyll/fix-frontmatter-defaults

Fix it so that 'blog.html' matches 'blog.html'
This commit is contained in:
Jordon Bedwell
2015-06-06 06:30:43 -05:00
2 changed files with 27 additions and 1 deletions

View File

@@ -173,7 +173,7 @@ module Jekyll
if path.nil? || path.empty?
""
else
path.gsub(/\A\//, '').gsub(/([^\/])\z/, '\1/')
path.gsub(/\A\//, '').gsub(/([^\/])\z/, '\1')
end
end
end