From 0f2a3a606bf8590866a0776648e48083fe8da1c8 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Tue, 26 Aug 2014 23:20:12 -0700 Subject: [PATCH] Append the site to Jekyll.sites upon creation --- lib/jekyll/site.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/jekyll/site.rb b/lib/jekyll/site.rb index bbb35a20..59917e35 100644 --- a/lib/jekyll/site.rb +++ b/lib/jekyll/site.rb @@ -33,6 +33,8 @@ module Jekyll self.file_read_opts = {} self.file_read_opts[:encoding] = config['encoding'] if config['encoding'] + Jekyll.sites << self + reset setup end