diff --git a/app/models/site/index.rb b/app/models/site/index.rb index 20914905..2f2d1dc9 100644 --- a/app/models/site/index.rb +++ b/app/models/site/index.rb @@ -18,7 +18,7 @@ class Site jekyll.documents.each do |doc| doc.read! - Post.new(document: doc, site: self, layout: layouts[doc['layout'].to_sym).index! + Post.new(document: doc, site: self, layout: layouts[doc['layout'].to_sym]).index! end update(last_indexed_commit: repository.head_commit.oid)