mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-17 00:51:49 +00:00
parent
f7628505b0
commit
3b3b79a22d
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class Site
|
|||
jekyll.documents.each do |doc|
|
||||
doc.read!
|
||||
|
||||
Post.new(document: doc, site: self, layout: doc['layout'].to_sym).index!
|
||||
Post.build(document: doc, site: self, layout: doc['layout'].to_sym).index!
|
||||
end
|
||||
|
||||
update(last_indexed_commit: repository.head_commit.oid)
|
||||
|
|
Loading…
Reference in a new issue