Skip to content
Browse files

Moved plugins to root directory. I'm ditching the idea of shipping pl…

…ugins with themes until it's more obviously necessary. This way it's easier to merge and update plugins.
  • Loading branch information...
1 parent 873a604 commit 17c59fb1d1bf3e0c05137af4b4bd09ae271a2d31 @imathis committed
View
8 Rakefile
@@ -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
-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, :theme do |t, args|
# copy theme into working Jekyll directories
theme = args.theme || 'classic'
- puts "## Copying "+theme+" theme into ./#{source_dir} ./sass and ./plugins "
+ puts "## Copying "+theme+" theme into ./#{source_dir} and ./sass"
mkdir_p source_dir
cp_r "#{themes_dir}/#{theme}/source/.", source_dir
mkdir_p "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 public_dir
end
@@ -67,7 +65,7 @@ task :post, :filename do |t, args|
post.puts "title: #{args.filename.gsub(/[-_]/, ' ').titlecase}"
post.puts "date: #{Time.now.strftime('%Y-%m-%d %H:%M')}"
post.puts "layout: post"
- post.puts "categories: []"
+ post.puts "categories: "
post.puts "---"
end
end
View
0 .themes/classic/plugins/blockquote.rb → plugins/blockquote.rb
File renamed without changes.
View
0 ...mes/classic/plugins/category_generator.rb → plugins/category_generator.rb
File renamed without changes.
View
0 .themes/classic/plugins/code_block.rb → plugins/code_block.rb
File renamed without changes.
View
0 .themes/classic/plugins/compass_compiler.rb → plugins/compass_compiler.rb
File renamed without changes.
View
0 .themes/classic/plugins/custom_filters.rb → plugins/custom_filters.rb
File renamed without changes.
View
0 .themes/classic/plugins/figure_tag.rb → plugins/figure_tag.rb
File renamed without changes.
View
0 .themes/classic/plugins/gist_tag.rb → plugins/gist_tag.rb
File renamed without changes.
View
0 .themes/classic/plugins/haml.rb → plugins/haml.rb
File renamed without changes.
View
0 .themes/classic/plugins/include_code.rb → plugins/include_code.rb
File renamed without changes.
View
0 .themes/classic/plugins/pullquote.rb → plugins/pullquote.rb
File renamed without changes.
View
0 ...s/classic/plugins/pygments_cache_patch.rb → plugins/pygments_cache_patch.rb
File renamed without changes.
View
0 .themes/classic/plugins/render_partial.rb → plugins/render_partial.rb
File renamed without changes.
View
0 .themes/classic/plugins/sitemap_generator.rb → plugins/sitemap_generator.rb
File renamed without changes.
View
0 .themes/classic/plugins/titlecase.rb → plugins/titlecase.rb
File renamed without changes.

0 comments on commit 17c59fb

Please sign in to comment.
Something went wrong with that request. Please try again.