mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
Removes duplicate mkdir_p
This commit is contained in:
1
Rakefile
1
Rakefile
@ -101,7 +101,6 @@ task :new_post, :title do |t, args|
|
|||||||
end
|
end
|
||||||
puts "Creating new post: #{filename}"
|
puts "Creating new post: #{filename}"
|
||||||
open(filename, 'w') do |post|
|
open(filename, 'w') do |post|
|
||||||
system "mkdir -p #{source_dir}/#{posts_dir}/";
|
|
||||||
post.puts "---"
|
post.puts "---"
|
||||||
post.puts "layout: post"
|
post.puts "layout: post"
|
||||||
post.puts "title: \"#{title.gsub(/&/,'&').titlecase}\""
|
post.puts "title: \"#{title.gsub(/&/,'&').titlecase}\""
|
||||||
|
|||||||
Reference in New Issue
Block a user