fix(rake) fix broken site generation

- Fix broken site generation caused by renamed CONDUCT.markdown file.
This commit is contained in:
Daniel Schildt 2016-02-02 02:17:48 +02:00
parent a820f8d9c8
commit e32daaedb4
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ namespace :site do
desc "Copy the Code of Conduct" desc "Copy the Code of Conduct"
task :conduct do task :conduct do
code_of_conduct = File.read("CONDUCT.md") code_of_conduct = File.read("CONDUCT.markdown")
header, _, body = code_of_conduct.partition("\n\n") header, _, body = code_of_conduct.partition("\n\n")
front_matter = { front_matter = {
"layout" => "docs", "layout" => "docs",