Add support for relative permalinks
This commit is contained in:
parent
19bc54bb07
commit
1f23bc4dc0
|
@ -64,7 +64,11 @@ module Jekyll
|
|||
return @url if @url
|
||||
|
||||
url = if permalink
|
||||
permalink
|
||||
if uses_relative_permalinks
|
||||
File.join(@dir, permalink)
|
||||
else
|
||||
permalink
|
||||
end
|
||||
else
|
||||
{
|
||||
"path" => @dir,
|
||||
|
|
Loading…
Reference in New Issue