mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 16:56:22 +00:00
fixup! fix: has_one es como belongs_to
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
f73f89cc43
commit
7a0443d7cc
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
%tr{ id: attribute }
|
%tr{ id: attribute }
|
||||||
%th= post_label_t(attribute, post: post)
|
%th= post_label_t(attribute, post: post)
|
||||||
%td{ dir: dir, lang: locale }
|
%td{ dir: dir, lang: locale }
|
||||||
- p = metadata.has_one
|
- p = site.indexed_posts.find_by_post_id(metadata.value)
|
||||||
- if p
|
- if p
|
||||||
= link_to p.title.value, site_post_path(site, p.id)
|
= link_to p.title, site_post_path(site, p.post_id)
|
||||||
|
|
Loading…
Reference in a new issue