mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 09:18:11 -05:00
Add support for relative permalinks
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user