Use site config to determine whether permalinks should be relative.

This commit is contained in:
Parker Moore 2013-05-11 18:26:20 +02:00
parent 161244fd78
commit 0e82b4eb2f
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ module Jekyll
return @url if @url
url = if permalink
if uses_relative_permalinks
if site.config['relative_permalinks']
File.join(@dir, permalink)
else
permalink