fixed issue where category layouts were using category feed xml instead of html layout

This commit is contained in:
Brandon Mathis 2012-05-20 16:23:08 -05:00
parent 19320018b2
commit ecb1748c4e

View File

@ -36,7 +36,7 @@ module Jekyll
@name = 'index.html'
self.process(@name)
# Read the YAML data from the layout page.
self.read_yaml(File.join(base, '_layouts'), 'category_feed.xml')
self.read_yaml(File.join(base, '_layouts'), 'category_index.html')
self.data['category'] = category
# Set the title for this page.
title_prefix = site.config['category_title_prefix'] || 'Category: '