mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-20 01:01:48 +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|
|
jekyll.documents.each do |doc|
|
||||||
doc.read!
|
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
|
end
|
||||||
|
|
||||||
update(last_indexed_commit: repository.head_commit.oid)
|
update(last_indexed_commit: repository.head_commit.oid)
|
||||||
|
|
Loading…
Reference in a new issue