From 40f5eca7abac7aa1a92f36373830c1f476d51431 Mon Sep 17 00:00:00 2001 From: f Date: Fri, 20 Oct 2023 12:23:39 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20algunos=20metadatos=20todav=C3=ADa=20no?= =?UTF-8?q?=20son=20indexables?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/post/indexable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/post/indexable.rb b/app/models/post/indexable.rb index 9629efd0..3aa8ce59 100644 --- a/app/models/post/indexable.rb +++ b/app/models/post/indexable.rb @@ -51,7 +51,7 @@ class Post indexable_attributes.select do |attr| self[attr].front_matter? end.each do |attr| - ifm[attr] = self[attr].indexable_values + ifm[attr] = self[attr].try(:indexable_values) end end end