mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 09:06:21 +00:00
fixup! fix: poder indexar desde cero
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
8350bfdfeb
commit
98d1ec125a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue