aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-16 14:55:37 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-16 14:55:37 -0400
commit7c715829909dc33091a1daad9b6a3388d1550986 (patch)
treea0fd373195f293482aa71c50adad449df305d7db
parent1f9b596b821685edcdaebaa885b1c6a4a22d1487 (diff)
parentfcda46920289d2c72d6651b3554e8978e3275686 (diff)
downloadmy_new_personal_website-7c715829909dc33091a1daad9b6a3388d1550986.tar.xz
my_new_personal_website-7c715829909dc33091a1daad9b6a3388d1550986.zip
Merge branch 'edge' of github.com:imathis/octopress into edge
Diffstat (limited to '')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index b5ececbe..840d71d1 100644
--- a/Rakefile
+++ b/Rakefile
@@ -59,7 +59,7 @@ end
# usage rake post[my-new-post] or rake post['my new post'] or rake post (defaults to "new-post")
desc "Begin a new post in #{source_dir}/#{posts_dir}"
task :post, :filename do |t, args|
- require './_plugins/titlecase.rb'
+ require './plugins/titlecase.rb'
args.with_defaults(:filename => 'new-post')
open("#{source_dir}/_posts/#{Time.now.strftime('%Y-%m-%d')}-#{args.filename.downcase.gsub(/[ _]/, '-')}.#{post_format}", 'w') do |post|
system "mkdir -p #{source_dir}/#{posts_dir}";