Fixed blog_url when user contains uppercase letters
This commit is contained in:
parent
498116b774
commit
a4236cae1b
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
@ -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…
Add table
Add a link
Reference in a new issue