Permalink
Browse files

Added the description-variable in the Rakefile to include it in newly…

… created posts/pages
  • Loading branch information...
1 parent 59d6a7b commit 1aa9527657ca44cd637342ff2bd3610e92e388a5 @LukasKnuth LukasKnuth committed with plusjade Mar 20, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 Rakefile
View
@@ -62,6 +62,7 @@ task :post do
post.puts "---"
post.puts "layout: post"
post.puts "title: \"#{title.gsub(/-/,' ')}\""
+ post.puts "description: \"\""
post.puts "category: "
post.puts "tags: []"
post.puts "---"
@@ -88,6 +89,7 @@ task :page do
post.puts "---"
post.puts "layout: page"
post.puts "title: \"#{title}\""
+ post.puts "description: \"\""
post.puts "---"
post.puts "{% include JB/setup %}"
end

0 comments on commit 1aa9527

Please sign in to comment.