fix script_url_for url bug

main
Hu Hao 11 years ago
parent dca0c7500f
commit 24fdbbbcfa

@ -44,7 +44,7 @@ module Jekyll
end
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
end

Loading…
Cancel
Save