make sure relative_permalinks is set to TRUE

This commit is contained in:
Parker Moore 2013-05-12 01:16:52 +02:00
parent 2e1316ec8b
commit d9f0dce67d
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ module Jekyll
end
def uses_relative_permalinks
permalink && @dir != "" && !permalink.include?(File.expand_path(@dir, site.source))
permalink && @dir != "" && site.config['relative_permalinks']
end
end
end