Skip to content

Commit 17c59fb

Browse files
committed
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.
1 parent 873a604 commit 17c59fb

15 files changed

Lines changed: 3 additions & 5 deletions

Rakefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,15 @@ themes_dir = ".themes" # directory for blog files
2121
post_format = "markdown" # file format for new posts when using the post rake task
2222

2323

24-
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]"
24+
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]"
2525
task :install, :theme do |t, args|
2626
# copy theme into working Jekyll directories
2727
theme = args.theme || 'classic'
28-
puts "## Copying "+theme+" theme into ./#{source_dir} ./sass and ./plugins "
28+
puts "## Copying "+theme+" theme into ./#{source_dir} and ./sass"
2929
mkdir_p source_dir
3030
cp_r "#{themes_dir}/#{theme}/source/.", source_dir
3131
mkdir_p "sass"
3232
cp_r "#{themes_dir}/#{theme}/sass/.", "sass"
33-
mkdir_p "plugins"
34-
cp_r "#{themes_dir}/#{theme}/plugins/.", "plugins"
3533
mkdir_p "#{source_dir}/#{posts_dir}"
3634
mkdir_p public_dir
3735
end
@@ -67,7 +65,7 @@ task :post, :filename do |t, args|
6765
post.puts "title: #{args.filename.gsub(/[-_]/, ' ').titlecase}"
6866
post.puts "date: #{Time.now.strftime('%Y-%m-%d %H:%M')}"
6967
post.puts "layout: post"
70-
post.puts "categories: []"
68+
post.puts "categories: "
7169
post.puts "---"
7270
end
7371
end
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)