Fixed blog_url when user contains uppercase letters

main
Daniel Escoz 11 years ago
parent 498116b774
commit a4236cae1b

@ -387,7 +387,7 @@ def blog_url(user, project)
url = if File.exists?('source/CNAME')
"http://#{IO.read('source/CNAME').strip}"
else
"http://#{user}.github.io"
"http://#{user.downcase}.github.io"
end
url += "/#{project}" unless project == ''
url

Loading…
Cancel
Save