5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 21:36:21 +00:00

fixup! fix: poder indexar desde cero
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
f 2023-10-20 13:10:53 -03:00
parent 8350bfdfeb
commit 98d1ec125a
No known key found for this signature in database

View file

@ -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)