parent
93c664bce0
commit
d055720b4e
|
@ -8,8 +8,8 @@ module Jekyll
|
|||
|
||||
# Determines if the given string is an absolute URL
|
||||
#
|
||||
# Returns true if an absolute URL.
|
||||
# Retruns false if it's a relative URL
|
||||
# Returns true if an absolute URL
|
||||
# Returns false if it's a relative URL
|
||||
# Returns nil if it is not a string or can't be parsed as a URL
|
||||
def absolute_url?(string)
|
||||
return unless string
|
||||
|
|
Loading…
Reference in New Issue