aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-16 11:42:50 -0700
committerBrandon Mathis <brandon@imathis.com>2011-07-16 11:42:50 -0700
commitfcda46920289d2c72d6651b3554e8978e3275686 (patch)
treefa5ce3f76118e78576d7408558eb0a63ba47fdf9
parentf81bdbc1a8e341d9d3fe1eba3b77beadfe59b3d6 (diff)
parent922472517fb4481bfaba88d9c2b0103b36f6b758 (diff)
downloadmy_new_personal_website-fcda46920289d2c72d6651b3554e8978e3275686.tar.xz
my_new_personal_website-fcda46920289d2c72d6651b3554e8978e3275686.zip
Merge pull request #34 from kent/edge
Updated path to plugins.
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index e588f9a3..0a7eff89 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}";