mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-30 09:18:11 -05:00
Use site config to determine whether permalinks should be relative.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user