Skip to content

Commit

Permalink
Updated path to plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
kent committed Jul 16, 2011
1 parent f81bdbc commit 9224725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}";
Expand Down

0 comments on commit 9224725

Please sign in to comment.