use addressible to determine absolute urls

This commit is contained in:
Ben Balter 2017-04-11 15:15:24 -05:00
parent cfe7e56cf8
commit 8cb5953ea4
No known key found for this signature in database
GPG Key ID: DBB67C246AD356C4
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ module Jekyll
end
def absolute_url?(string)
string.include? "://"
Addressable::URI.parse(string).absolute?
end
def format_string(string)