use addressible to determine absolute urls
This commit is contained in:
parent
cfe7e56cf8
commit
8cb5953ea4
|
@ -203,7 +203,7 @@ module Jekyll
|
|||
end
|
||||
|
||||
def absolute_url?(string)
|
||||
string.include? "://"
|
||||
Addressable::URI.parse(string).absolute?
|
||||
end
|
||||
|
||||
def format_string(string)
|
||||
|
|
Loading…
Reference in New Issue