mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-24 16:46:22 +00:00
11 lines
425 B
Text
11 lines
425 B
Text
%tr{ id: attribute }
|
|
%th= post_label_t(attribute, post: post)
|
|
%td
|
|
%ul{ dir: dir, lang: locale }
|
|
- metadata.value.each do |v|
|
|
- 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ó)
|
|
- next unless p
|
|
%li= link_to p.title.value, site_post_path(site, p.id)
|