fix script_url_for url bug
This commit is contained in:
parent
dca0c7500f
commit
24fdbbbcfa
@ -44,7 +44,7 @@ module Jekyll
|
|||||||
end
|
end
|
||||||
|
|
||||||
def script_url_for(gist_id, filename)
|
def script_url_for(gist_id, filename)
|
||||||
url = "https://gist.githubusercontent.com/#{gist_id}.js"
|
url = "https://gist.github.com/#{gist_id}.js"
|
||||||
url = "#{url}?file=#{filename}" unless filename.nil? or filename.empty?
|
url = "#{url}?file=#{filename}" unless filename.nil? or filename.empty?
|
||||||
url
|
url
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user