Skip to content

Commit 1aa9527

Browse files
LukasKnuthplusjade
authored andcommitted
Added the description-variable in the Rakefile to include it in newly created posts/pages
1 parent 59d6a7b commit 1aa9527

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Rakefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ task :post do
6262
post.puts "---"
6363
post.puts "layout: post"
6464
post.puts "title: \"#{title.gsub(/-/,' ')}\""
65+
post.puts "description: \"\""
6566
post.puts "category: "
6667
post.puts "tags: []"
6768
post.puts "---"
@@ -88,6 +89,7 @@ task :page do
8889
post.puts "---"
8990
post.puts "layout: page"
9091
post.puts "title: \"#{title}\""
92+
post.puts "description: \"\""
9193
post.puts "---"
9294
post.puts "{% include JB/setup %}"
9395
end

0 commit comments

Comments
 (0)