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

fixup! fix: has_one es como belongs_to
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

(cherry picked from commit 7a0443d7cc)
This commit is contained in:
f 2023-10-27 14:06:19 -03:00
parent eda06ae26f
commit f94b579a25
No known key found for this signature in database

View file

@ -1,6 +1,6 @@
%tr{ id: attribute }
%th= post_label_t(attribute, post: post)
%td{ dir: dir, lang: locale }
- p = metadata.has_one
- p = site.indexed_posts.find_by_post_id(metadata.value)
- if p
= link_to p.title.value, site_post_path(site, p.id)
= link_to p.title, site_post_path(site, p.post_id)