... | ... |
@@ -101,7 +101,6 @@ task :new_post, :title do |t, args| |
101 | 101 |
end |
102 | 102 |
puts "Creating new post: #{filename}" |
103 | 103 |
open(filename, 'w') do |post| |
104 |
- system "mkdir -p #{source_dir}/#{posts_dir}/"; |
|
105 | 104 |
post.puts "---" |
106 | 105 |
post.puts "layout: post" |
107 | 106 |
post.puts "title: \"#{title.gsub(/&/,'&').titlecase}\"" |