Improved readability
This commit is contained in:
parent
f56cbb5589
commit
7f19c78cd5
2
Rakefile
2
Rakefile
@ -338,7 +338,7 @@ task :setup_github_pages, :repo do |t, args|
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
jekyll_config = IO.read('_config.yml')
|
jekyll_config = IO.read('_config.yml')
|
||||||
jekyll_config.sub!(/^url:.*$/, "url: #{blog_url(user,project)}")
|
jekyll_config.sub!(/^url:.*$/, "url: #{blog_url(user, project)}")
|
||||||
File.open('_config.yml', 'w') do |f|
|
File.open('_config.yml', 'w') do |f|
|
||||||
f.write jekyll_config
|
f.write jekyll_config
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user