2020-01-28 21:05:59 +00:00
|
|
|
%tr{ id: attribute }
|
|
|
|
%th= post_label_t(attribute, post: post)
|
|
|
|
%td
|
2020-05-23 18:42:12 +00:00
|
|
|
%ul{ dir: dir, lang: locale }
|
2020-01-28 21:05:59 +00:00
|
|
|
- metadata.value.each do |v|
|
|
|
|
- p = site.posts(lang: post.lang.value).find(v, uuid: true)
|
|
|
|
-#
|
|
|
|
XXX: Ignorar todos los posts no encontrados (ej: fueron
|
|
|
|
borrados o el uuid cambió)
|
|
|
|
- next unless p
|
|
|
|
%li= link_to p.title.value, site_post_path(site, p.id)
|