Add the 'title' variable to collection permalinks

This commit is contained in:
Chris Frederick
2014-08-23 14:50:55 +09:00
parent 069805c6f7
commit e8b00fb6f2
2 changed files with 22 additions and 1 deletions

View File

@@ -128,7 +128,8 @@ module Jekyll
{
collection: collection.label,
path: cleaned_relative_path,
output_ext: Jekyll::Renderer.new(site, self).output_ext
output_ext: Jekyll::Renderer.new(site, self).output_ext,
title: basename(".*")
}
end