mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 09:06:22 +00:00
fix: algunos metadatos todavía no son indexables
This commit is contained in:
parent
747ce788a2
commit
40f5eca7ab
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class Post
|
||||||
indexable_attributes.select do |attr|
|
indexable_attributes.select do |attr|
|
||||||
self[attr].front_matter?
|
self[attr].front_matter?
|
||||||
end.each do |attr|
|
end.each do |attr|
|
||||||
ifm[attr] = self[attr].indexable_values
|
ifm[attr] = self[attr].try(:indexable_values)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue