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

fix: comentario en un details si tiene summary

This commit is contained in:
maki 2024-02-21 18:08:54 -03:00
parent 1b8685b7ca
commit df88f80b30

View file

@ -24,4 +24,9 @@
%a{ href: comment['inReplyTo'] }= comment['inReplyTo'] %a{ href: comment['inReplyTo'] }= comment['inReplyTo']
.row.no-gutters .row.no-gutters
.col.p-0 .col.p-0
- if comment['summary']
- summary = comment['summary']
= render 'layouts/details', summary: summary do
%p= comment['content'].html_safe
- else
%p= comment['content'].html_safe %p= comment['content'].html_safe