Reset the collections hash on #reset.

Fixes #2234.
This commit is contained in:
Parker Moore 2014-04-16 16:42:01 -04:00
parent d379e3c012
commit 330005d932
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ module Jekyll
self.pages = []
self.static_files = []
self.data = {}
@collections = {}
if limit_posts < 0
raise ArgumentError, "limit_posts must be a non-negative number"