From 98d1ec125a8cd57df0dc7e3b415419895f343b8e Mon Sep 17 00:00:00 2001 From: f Date: Fri, 20 Oct 2023 13:10:53 -0300 Subject: [PATCH] fixup! fix: poder indexar desde cero --- app/models/site/index.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)