Merge pull request #3322 from pborreli/patch-1
This commit is contained in:
commit
091e86aa22
|
@ -168,7 +168,7 @@ module Jekyll
|
||||||
end.compact
|
end.compact
|
||||||
end
|
end
|
||||||
|
|
||||||
# Sanitizes the given path by removing a leading and addding a trailing slash
|
# Sanitizes the given path by removing a leading and adding a trailing slash
|
||||||
def sanitize_path(path)
|
def sanitize_path(path)
|
||||||
if path.nil? || path.empty?
|
if path.nil? || path.empty?
|
||||||
""
|
""
|
||||||
|
|
Loading…
Reference in New Issue