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

fix: encontrar el post relacionado por su indexacion

This commit is contained in:
f 2023-10-06 10:19:25 -03:00
parent 6f9fe8fdbc
commit 9cb2850a13
No known key found for this signature in database

View file

@ -3,7 +3,7 @@
%td
%ul{ dir: dir, lang: locale }
- metadata.value.each do |v|
- p = site.posts(lang: post.lang.value).find(v, uuid: true)
- p = site.indexed_posts(locale: post.lang.value).find_by(post_id: v)&.post
-#
XXX: Ignorar todos los posts no encontrados (ej: fueron
borrados o el uuid cambió)