Ensure the page is in a subdir. That's the only time it's eff'd.
This commit is contained in:
parent
6167747440
commit
2e1316ec8b
|
@ -157,7 +157,7 @@ module Jekyll
|
||||||
end
|
end
|
||||||
|
|
||||||
def uses_relative_permalinks
|
def uses_relative_permalinks
|
||||||
permalink && !permalink.include?(File.expand_path(@dir, site.source))
|
permalink && @dir != "" && !permalink.include?(File.expand_path(@dir, site.source))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue