Add gallery index

This commit is contained in:
Danny Berger
2014-12-18 09:57:56 -07:00
parent 00652967d8
commit d88bb5e0eb
6 changed files with 37 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ module Jekyll
end
item['name'] = File.basename(pathname, @attributes['match'].sub('*', ''))
item['fullname'] = path + '/' + item['name']
item['fullname'] = pathname.gsub(/\.[^\.]+$/, '')
item['path'] = pathname
items.push item