|
@ -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 |
|
|