5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 04:46: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| jekyll.documents.each do |doc|
doc.read! 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 end
update(last_indexed_commit: repository.head_commit.oid) update(last_indexed_commit: repository.head_commit.oid)