5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 08:26:23 +00:00

fix: algunos metadatos todavía no son indexables

This commit is contained in:
f 2023-10-20 12:23:39 -03:00
parent 747ce788a2
commit 40f5eca7ab
No known key found for this signature in database

View file

@ -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