Change :title to :name
This commit is contained in:
parent
e8b00fb6f2
commit
cc4a0d1704
|
@ -129,7 +129,7 @@ module Jekyll
|
||||||
collection: collection.label,
|
collection: collection.label,
|
||||||
path: cleaned_relative_path,
|
path: cleaned_relative_path,
|
||||||
output_ext: Jekyll::Renderer.new(site, self).output_ext,
|
output_ext: Jekyll::Renderer.new(site, self).output_ext,
|
||||||
title: basename(".*")
|
name: basename(".*")
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -192,7 +192,7 @@ class TestDocument < Test::Unit::TestCase
|
||||||
"collections" => {
|
"collections" => {
|
||||||
"slides" => {
|
"slides" => {
|
||||||
"output" => true,
|
"output" => true,
|
||||||
"permalink" => "/slides/test/:title"
|
"permalink" => "/slides/test/:name"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"source" => source_dir,
|
"source" => source_dir,
|
||||||
|
|
Loading…
Reference in New Issue