Removes duplicate mkdir_p
This commit is contained in:
parent
86c72a4ca6
commit
fe19c2aaae
1 changed files with 0 additions and 1 deletions
1
Rakefile
1
Rakefile
|
@ -101,7 +101,6 @@ task :new_post, :title do |t, args|
|
|||
end
|
||||
puts "Creating new post: #{filename}"
|
||||
open(filename, 'w') do |post|
|
||||
system "mkdir -p #{source_dir}/#{posts_dir}/";
|
||||
post.puts "---"
|
||||
post.puts "layout: post"
|
||||
post.puts "title: \"#{title.gsub(/&/,'&').titlecase}\""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue