Moved plugins to root directory. I'm ditching the idea of shipping plugins with themes until it's more obviously necessary. This way it's easier to merge and update plugins.
@ -21,17 +21,15 @@ themes_dir = ".themes" # directory for blog files
post_format="markdown"# file format for new posts when using the post rake task
post_format="markdown"# file format for new posts when using the post rake task
desc"Initial setup for Octopress: copies the default theme into the path of Jekyll's generator. rake install defaults to rake install[classic] to install a different theme run rake install[some_theme_name]"
desc"Initial setup for Octopress: copies the default theme into the path of Jekyll's generator. Rake install defaults to rake install[classic] to install a different theme run rake install[some_theme_name]"
task:install,:themedo|t,args|
task:install,:themedo|t,args|
# copy theme into working Jekyll directories
# copy theme into working Jekyll directories
theme=args.theme||'classic'
theme=args.theme||'classic'
puts"## Copying "+theme+" theme into ./#{source_dir}./sass and ./plugins "
puts"## Copying "+theme+" theme into ./#{source_dir}and ./sass"
mkdir_psource_dir
mkdir_psource_dir
cp_r"#{themes_dir}/#{theme}/source/.",source_dir
cp_r"#{themes_dir}/#{theme}/source/.",source_dir
mkdir_p"sass"
mkdir_p"sass"
cp_r"#{themes_dir}/#{theme}/sass/.","sass"
cp_r"#{themes_dir}/#{theme}/sass/.","sass"
mkdir_p"plugins"
cp_r"#{themes_dir}/#{theme}/plugins/.","plugins"
mkdir_p"#{source_dir}/#{posts_dir}"
mkdir_p"#{source_dir}/#{posts_dir}"
mkdir_ppublic_dir
mkdir_ppublic_dir
end
end
@ -67,7 +65,7 @@ task :post, :filename do |t, args|